summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-25 10:42:16 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-25 10:42:16 +0000
commit9bc157a037580fe8bdbf9deaeaae4c32ac2f1cd7 (patch)
tree5cf7e4be0f43d949a61dfda28e8cbc348cd6d1f0 /sc/source/ui/view/prevwsh.cxx
parent9980683f2cb6fb5eebda47bf5a28991e1c0c5f92 (diff)
INTEGRATION: CWS mbafixesfor22 (1.30.136); FILE MERGED
2007/01/16 11:29:23 mba 1.30.136.1: #i64552#: pass bIsAPI to every print call
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 6d9e58c0a2a3..b9da4a36254d 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: prevwsh.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: kz $ $Date: 2006-07-21 15:07:01 $
+ * last change: $Author: obo $ $Date: 2007-01-25 11:42:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -476,7 +476,7 @@ void __EXPORT ScPreviewShell::PreparePrint( PrintDialog* pPrintDialog )
pDocShell->PreparePrint( pPrintDialog, NULL );
}
-USHORT __EXPORT ScPreviewShell::Print( SfxProgress& rProgress, PrintDialog* pPrintDialog )
+USHORT __EXPORT ScPreviewShell::Print( SfxProgress& rProgress, BOOL bIsAPI, PrintDialog* pPrintDialog )
{
pDocShell->GetDocument()->SetPrintOptions(); // Optionen aus OFA am Printer setzen
@@ -491,8 +491,8 @@ USHORT __EXPORT ScPreviewShell::Print( SfxProgress& rProgress, PrintDialog* pPri
aProps[0].Value <<= aSheets;
SetAdditionalPrintOptions( aProps );
- SfxViewShell::Print( rProgress, pPrintDialog );
- pDocShell->Print( rProgress, pPrintDialog, NULL, pPreview, FALSE );
+ SfxViewShell::Print( rProgress, bIsAPI, pPrintDialog );
+ pDocShell->Print( rProgress, pPrintDialog, NULL, pPreview, FALSE, bIsAPI );
return 0;
}