summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 06:15:25 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 06:15:25 +0000
commite48bcbca3b4067b381fe4534faad2bbc84467844 (patch)
tree786c27da5e18200b9a0c8e3c5c8b9280d7e5579a /sfx2
parent284ed2d0b729edbe454ec24cabbe2f1a5fb76529 (diff)
INTEGRATION: CWS fwk58 (1.23.84); FILE MERGED
2006/12/06 15:16:15 mba 1.23.84.1: #i72240#: don't send JOB_STARTED event before printing acually started
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/viewprn.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sfx2/source/view/viewprn.cxx b/sfx2/source/view/viewprn.cxx
index 84bf11f25b25..4d260f36aa4a 100644
--- a/sfx2/source/view/viewprn.cxx
+++ b/sfx2/source/view/viewprn.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: viewprn.cxx,v $
*
- * $Revision: 1.23 $
+ * $Revision: 1.24 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 15:59:43 $
+ * last change: $Author: obo $ $Date: 2007-01-23 07:15:25 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -854,11 +854,8 @@ void SfxViewShell::LockPrinter( BOOL bLock)
//--------------------------------------------------------------------
-USHORT SfxViewShell::Print( SfxProgress& /*rProgress*/, PrintDialog *pDlg )
+USHORT SfxViewShell::Print( SfxProgress& /*rProgress*/, PrintDialog* /*pDlg*/ )
{
- SfxObjectShell *pObjShell = GetViewFrame()->GetObjectShell();
- SFX_APP()->NotifyEvent(SfxEventHint(SFX_EVENT_PRINTDOC, pObjShell));
- GetObjectShell()->Broadcast( SfxPrintingHint( com::sun::star::view::PrintableState_JOB_STARTED, pDlg, NULL ) );
return 0;
}