diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-01-25 10:48:50 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-01-25 10:48:50 +0000 |
commit | 140b1311770e27c8add5b7913c1c53121a8938fd (patch) | |
tree | b56ce130f73f879037871fea0a8b3c5e49cea87a /sfx2 | |
parent | e1dae16b86f6cf5a0ccf6dcf3373686d0b314c7a (diff) |
INTEGRATION: CWS mbafixesfor22 (1.14.102); FILE MERGED
2007/01/16 10:59:36 mba 1.14.102.1: #i64552#: pass bIsAPI to every print call
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/printer.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index 670a3afd8e20..88e5cb214357 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -4,9 +4,9 @@ * * $RCSfile: printer.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: obo $ $Date: 2006-10-12 15:59:14 $ + * last change: $Author: obo $ $Date: 2007-01-25 11:48:50 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -513,7 +513,7 @@ const SfxFont* SfxPrinter::GetFontByName( const String &rFontName ) //-------------------------------------------------------------------- -BOOL SfxPrinter::InitJob( Window* pUIParent, BOOL bDocumentContainsTransparentObjects ) +BOOL SfxPrinter::InitJob( Window* pUIParent, BOOL bAskAboutTransparentObjects ) { const SvtPrinterOptions aPrinterOpt; const SvtPrintFileOptions aPrintFileOpt; @@ -524,7 +524,7 @@ BOOL SfxPrinter::InitJob( Window* pUIParent, BOOL bDocumentContainsTransparentOb ( ( IsPrintFileEnabled() && GetPrintFile().Len() ) ? pPrintFileOpt : pPrinterOpt )->GetPrinterOptions( aNewPrinterOptions ); - if( bDocumentContainsTransparentObjects && !aNewPrinterOptions.IsReduceTransparency() ) + if( bAskAboutTransparentObjects && !aNewPrinterOptions.IsReduceTransparency() ) { if ( !Application::IsHeadlessModeEnabled() ) { |