summaryrefslogtreecommitdiff
path: root/vcl/inc/vcl/print.hxx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-11-04 18:48:18 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM>2010-11-04 18:48:18 +0100
commit6cd16b7bc3fa70ba6c93fe64256e5ce16ab19c9f (patch)
tree6b184502febefd9756f18659a33248706930eee0 /vcl/inc/vcl/print.hxx
parente8ffa7cfebb3dd1ad41f333901286a13eb450232 (diff)
vcl117: #i115056# clean up functions no longer used
Diffstat (limited to 'vcl/inc/vcl/print.hxx')
-rw-r--r--vcl/inc/vcl/print.hxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/vcl/inc/vcl/print.hxx b/vcl/inc/vcl/print.hxx
index 04f47d16bba8..1f3eba2610fd 100644
--- a/vcl/inc/vcl/print.hxx
+++ b/vcl/inc/vcl/print.hxx
@@ -318,7 +318,12 @@ public:
BOOL Setup( Window* pWindow = NULL );
BOOL SetPrinterProps( const Printer* pPrinter );
- void SetPrinterOptions( const PrinterOptions& rOptions ) { *mpPrinterOptions = rOptions; }
+ // SetPrinterOptions is used internally only now
+ // in earlier times it was used only to set the options loaded directly from the configuration
+ // in SfxPrinter::InitJob, this is now handled internally
+ // should the need arise to set the printer options outside vcl, also a method would have to be devised
+ // to not override these again internally
+ SAL_DLLPRIVATE void SetPrinterOptions( const PrinterOptions& rOptions );
const PrinterOptions& GetPrinterOptions() const { return( *mpPrinterOptions ); }
BOOL SetOrientation( Orientation eOrient );
@@ -354,10 +359,6 @@ public:
BOOL IsPrinting() const { return mbPrinting; }
- void SetPrintFile( const XubString& rFileName ) { maPrintFile = rFileName; }
- const XubString& GetPrintFile() const { return maPrintFile; }
- void EnablePrintFile( BOOL bEnable ) { mbPrintFile = bEnable; }
- BOOL IsPrintFileEnabled() const { return mbPrintFile; }
BOOL AbortJob();
const XubString& GetCurJobName() const { return maJobName; }
USHORT GetCurPage() const { return mnCurPage; }