diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-05-16 07:19:13 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-05-16 07:19:13 +0000 |
commit | 7e3f9e42c7243900f23a3611f34cfa16a758f6f4 (patch) | |
tree | 422b0b90f6df74d0ccd02e9bd93062a2cf47f637 /sc/source/ui/view/formatsh.cxx | |
parent | 6476369e9abe3cea6da4b9339282bc7b26dd8d7b (diff) |
INTEGRATION: CWS calcpagestyle (1.30.16); FILE MERGED
2006/05/12 14:19:00 nn 1.30.16.1: #i65326# have to call GetPrinter(TRUE) at the ViewShell if a printer is needed
Diffstat (limited to 'sc/source/ui/view/formatsh.cxx')
-rw-r--r-- | sc/source/ui/view/formatsh.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx index fa0d1c9a512c..e8dc4c2820fb 100644 --- a/sc/source/ui/view/formatsh.cxx +++ b/sc/source/ui/view/formatsh.cxx @@ -4,9 +4,9 @@ * * $RCSfile: formatsh.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: rt $ $Date: 2006-05-02 15:52:26 $ + * last change: $Author: vg $ $Date: 2006-05-16 08:19:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -623,7 +623,7 @@ void __EXPORT ScFormatShell::ExecuteStyle( SfxRequest& rReq ) { if ( pDoc->RemovePageStyleInUse( pStyleSheet->GetName() ) ) { - ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(), nCurTab ).UpdatePages(); + ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(TRUE), nCurTab ).UpdatePages(); rBindings.Invalidate( SID_STATUS_PAGESTYLE ); rBindings.Invalidate( FID_RESET_PRINTZOOM ); } @@ -650,7 +650,7 @@ void __EXPORT ScFormatShell::ExecuteStyle( SfxRequest& rReq ) if ( aOldName != aStyleName ) { pDoc->SetPageStyle( nTab, aStyleName ); - ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(), nTab ).UpdatePages(); + ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(TRUE), nTab ).UpdatePages(); if( !pUndoAction ) pUndoAction = new ScUndoApplyPageStyle( pDocSh, aStyleName ); pUndoAction->AddSheetAction( nTab, aOldName ); @@ -695,7 +695,7 @@ void __EXPORT ScFormatShell::ExecuteStyle( SfxRequest& rReq ) // wenn in Verwendung -> Update if ( bUsed ) - ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(), nInTab ).UpdatePages(); + ScPrintFunc( pDocSh, pTabViewShell->GetPrinter(TRUE), nInTab ).UpdatePages(); aNewData.InitFromStyle( pStyleSheet ); bAddUndo = TRUE; |