]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-print-error.patch
- up
[packages/libreoffice.git] / openoffice-print-error.patch
CommitLineData
88411c4e 1Index: sfx2/source/view/prnmon.cxx
2===================================================================
3RCS file: /cvs/framework/sfx2/source/view/prnmon.cxx,v
4retrieving revision 1.8
5diff -u -p -u -r1.8 prnmon.cxx
6--- sfx2/source/view/prnmon.cxx 4 Apr 2003 17:40:22 -0000 1.8
7+++ sfx2/source/view/prnmon.cxx 7 Aug 2003 14:38:41 -0000
8@@ -384,7 +384,7 @@ IMPL_LINK_INLINE_START( SfxPrintProgress
9 {
10 if ( pImp->pMonitor )
11 pImp->pMonitor->Hide();
12- pImp->pPrinter->AbortJob();
13+ pImp->pPrinter->SetErrorHdl( Link() );
14 InfoBox( pImp->GetViewShell()->GetWindow(),
15 String( SfxResId(STR_ERROR_PRINT) ) ).Execute();
16 if ( pImp->bRestoreFlag && pImp->pViewShell->GetObjectShell()->IsEnableSetModified() != pImp->bOldFlag )
17Index: vcl/source/gdi/impprn.cxx
18===================================================================
19RCS file: /cvs/gsl/vcl/source/gdi/impprn.cxx,v
20retrieving revision 1.5
21diff -u -p -u -r1.5 impprn.cxx
22--- vcl/source/gdi/impprn.cxx 27 Mar 2003 17:57:57 -0000 1.5
23+++ vcl/source/gdi/impprn.cxx 7 Aug 2003 14:39:09 -0000
24@@ -350,7 +350,8 @@ IMPL_LINK( ImplQPrinter, ImplPrintHdl, T
25 {
26 maTimer.Stop();
27 delete pActPage;
28- EndJob();
29+ if (!EndJob())
30+ mpParent->Error();
31 mpParent->ImplEndPrint();
32 }
33 else
This page took 0.046758 seconds and 4 git commands to generate.