summaryrefslogtreecommitdiff
path: root/sfx2/source/view/prnmon.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-10-01 13:31:44 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-10-01 13:31:44 +0000
commitafd3a4ecc030a68aa094a1593a4dadce03070f07 (patch)
treea1a8fb36e4f22e77ccd5f72d63519dacb52da06f /sfx2/source/view/prnmon.cxx
parent9cea52ea4c2ab361f3f2b5791a70dc4227e51f3e (diff)
CWS-TOOLING: integrate CWS vcl92
Diffstat (limited to 'sfx2/source/view/prnmon.cxx')
-rw-r--r--sfx2/source/view/prnmon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/prnmon.cxx b/sfx2/source/view/prnmon.cxx
index a2645c69d4..6be24a75e2 100644
--- a/sfx2/source/view/prnmon.cxx
+++ b/sfx2/source/view/prnmon.cxx
@@ -240,7 +240,7 @@ BOOL SfxPrintProgress_Impl::SetPage( USHORT nPage, const String &rPage )
IMPL_LINK( SfxPrintProgress_Impl, CancelHdl, Button *, EMPTYARG )
{
- if ( !pViewShell->GetPrinter()->IsJobActive() )
+ if ( !pViewShell->GetPrinter()->IsJobActive() && pViewShell->GetPrinter()->IsPrinting() )
// we are still in StartJob, cancelling now might lead to a crash
return 0;