From e48bcbca3b4067b381fe4534faad2bbc84467844 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Tue, 23 Jan 2007 06:15:25 +0000 Subject: 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 --- sfx2/source/view/viewprn.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'sfx2') 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; } -- cgit