diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-11-08 14:43:10 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Oracle.COM> | 2010-11-08 14:43:10 +0100 |
commit | 1fc75ad6800275b23242e0b82e52dc2327cf16b3 (patch) | |
tree | 5c6ead100c5d5432fbedd8f6ee69de5727a57276 | |
parent | 5adb4c0572ebb341a8db83888181b13a08704c7d (diff) |
vcl117: #i115477# remove unused methods
-rw-r--r-- | sfx2/inc/sfx2/printer.hxx | 6 | ||||
-rw-r--r-- | sfx2/source/view/printer.cxx | 30 |
2 files changed, 0 insertions, 36 deletions
diff --git a/sfx2/inc/sfx2/printer.hxx b/sfx2/inc/sfx2/printer.hxx index a96033835a84..7aa79a8a2c30 100644 --- a/sfx2/inc/sfx2/printer.hxx +++ b/sfx2/inc/sfx2/printer.hxx @@ -125,10 +125,6 @@ public: const SfxItemSet& GetOptions() const { return *pOptions; } void SetOptions( const SfxItemSet &rNewOptions ); - void EnableRange( USHORT nRange ); - void DisableRange( USHORT nRange ); - BOOL IsRangeEnabled( USHORT nRange ) const; - BOOL IsKnown() const { return bKnown; } BOOL IsOriginal() const { return bKnown; } @@ -136,8 +132,6 @@ public: USHORT GetFontCount(); const SfxFont* GetFont( USHORT nNo ) const; const SfxFont* GetFontByName( const String &rFontName ); - - BOOL InitJob( Window* pUIParent, BOOL bAskAboutTransparentObjects ); }; #endif diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx index fb8f60241b8e..243e3c508966 100644 --- a/sfx2/source/view/printer.cxx +++ b/sfx2/source/view/printer.cxx @@ -334,28 +334,6 @@ void SfxPrinter::SetOptions( const SfxItemSet &rNewOptions ) //-------------------------------------------------------------------- -void SfxPrinter::EnableRange( USHORT ) -{ - OSL_ENSURE( 0, "dead code !" ); -} - -//-------------------------------------------------------------------- - -void SfxPrinter::DisableRange( USHORT ) -{ - OSL_ENSURE( 0, "dead code !" ); -} - -//-------------------------------------------------------------------- - -BOOL SfxPrinter::IsRangeEnabled( USHORT ) const -{ - OSL_ENSURE( 0, "dead code !" ); - return TRUE; -} - -//-------------------------------------------------------------------- - SV_IMPL_PTRARR(SfxFontArr_Impl,SfxFont*) //-------------------------------------------------------------------- @@ -452,14 +430,6 @@ const SfxFont* SfxPrinter::GetFontByName( const String &rFontName ) //-------------------------------------------------------------------- -BOOL SfxPrinter::InitJob( Window*, BOOL ) -{ - OSL_ENSURE( 0, "dead code !" ); - return FALSE; -} - -//-------------------------------------------------------------------- - SfxPrintOptionsDialog::SfxPrintOptionsDialog( Window *pParent, SfxViewShell *pViewShell, const SfxItemSet *pSet ) : |