summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-01-05 14:46:45 +0100
committerMathias Bauer <mba@openoffice.org>2010-01-05 14:46:45 +0100
commitebbf721d69d4040a392d493c8a89a4c0023476cf (patch)
tree9ff4a8547c8ee1cc93878e2bcc79f53630d477a1 /sw/source/ui/uiview
parent3fa259739300c572830e3680de6fcf93257fca4c (diff)
parent3439c301e10bf14bdc7d1494ea0a4b5f170627bb (diff)
merge commit for m68
Diffstat (limited to 'sw/source/ui/uiview')
-rw-r--r--sw/source/ui/uiview/viewprt.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/viewprt.cxx b/sw/source/ui/uiview/viewprt.cxx
index 86b8340849f5..c53f6efbc3fc 100644
--- a/sw/source/ui/uiview/viewprt.cxx
+++ b/sw/source/ui/uiview/viewprt.cxx
@@ -252,7 +252,10 @@ ErrCode SwView::DoPrint( SfxPrinter *pPrinter, PrintDialog *pDlg, BOOL bSilent,
QueryBox aBox( &GetEditWin(), SW_RES( DLG_PRT_FIELDNAME ) );
USHORT nRet = aBox.Execute();
if( RET_CANCEL == nRet)
+ {
+ delete pProgress;
return ERRCODE_IO_ABORT;
+ }
// disable field commands
if( RET_NO != nRet )
{