diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-08 08:59:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-08 10:01:43 +0000 |
commit | c52fbc04a9df0f2d894f11ef229d86dcf33edc7b (patch) | |
tree | 68dc41d7def52e8db4b96b64f79ce24e876c4712 /svx | |
parent | 881a93d3ab969454d52de1af95004ff3fbd5918f (diff) |
callcatcher: some unused methods
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/dlgctl3d.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/fntctrl.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/dlgctl3d.cxx | 11 | ||||
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 23 |
4 files changed, 0 insertions, 39 deletions
diff --git a/svx/inc/svx/dlgctl3d.hxx b/svx/inc/svx/dlgctl3d.hxx index 2f910dd4d1e4..63161b1b72c8 100644 --- a/svx/inc/svx/dlgctl3d.hxx +++ b/svx/inc/svx/dlgctl3d.hxx @@ -176,7 +176,6 @@ private: public: SvxLightCtl3D( Window* pParent, const ResId& rResId); - SvxLightCtl3D( Window* pParent, WinBits nStyle = 0); ~SvxLightCtl3D(); // react to size changes diff --git a/svx/inc/svx/fntctrl.hxx b/svx/inc/svx/fntctrl.hxx index 6a5c32fa25dc..723c2fd21f46 100644 --- a/svx/inc/svx/fntctrl.hxx +++ b/svx/inc/svx/fntctrl.hxx @@ -57,7 +57,6 @@ private: SVX_DLLPRIVATE void SetFontLang(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); public: - SvxFontPrevWindow( Window* pParent ); SvxFontPrevWindow( Window* pParent, const ResId& rId ); virtual ~SvxFontPrevWindow(); @@ -77,11 +76,8 @@ public: void SetBackColor( const Color& rColor ); void UseResourceText( sal_Bool bUse = sal_True ); void SetDrawBaseLine( sal_Bool bSet = sal_True ); - void SetPreviewBackgroundToCharacter( sal_Bool bSet = sal_True ); void Paint( const Rectangle& ); - sal_Bool IsTwoLines() const; - void SetTwoLines(sal_Bool bSet); void SetNoLines(sal_Bool bSet); void SetBrackets(sal_Unicode cStart, sal_Unicode cEnd); diff --git a/svx/source/dialog/dlgctl3d.cxx b/svx/source/dialog/dlgctl3d.cxx index 09df1e8235b4..04f03442eee0 100644 --- a/svx/source/dialog/dlgctl3d.cxx +++ b/svx/source/dialog/dlgctl3d.cxx @@ -996,17 +996,6 @@ SvxLightCtl3D::SvxLightCtl3D( Window* pParent, const ResId& rResId) Init(); } -SvxLightCtl3D::SvxLightCtl3D( Window* pParent, WinBits nStyle ) -: Control(pParent, nStyle), - maLightControl(this, 0), - maHorScroller(this, WB_HORZ | WB_DRAG), - maVerScroller(this, WB_VERT | WB_DRAG), - maSwitcher(this, 0) -{ - // init members - Init(); -} - void SvxLightCtl3D::Init() { // #i58240# set HelpIDs for scrollbars and switcher diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index c9548d92001d..4c795fcd8b8f 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -520,12 +520,6 @@ void SvxFontPrevWindow::Init() SetBorderStyle( WINDOW_BORDER_MONO ); } -SvxFontPrevWindow::SvxFontPrevWindow( Window* pParent ) : - Window( pParent ) -{ - Init(); -} - SvxFontPrevWindow::SvxFontPrevWindow( Window* pParent, const ResId& rId ) : Window( pParent, rId ) { @@ -654,13 +648,6 @@ void SvxFontPrevWindow::SetDrawBaseLine( sal_Bool bSet ) // ----------------------------------------------------------------------- -void SvxFontPrevWindow::SetPreviewBackgroundToCharacter(sal_Bool bSet) -{ - pImpl->bPreviewBackgroundToCharacter = bSet; -} - -// ----------------------------------------------------------------------- - void SvxFontPrevWindow::Paint( const Rectangle& ) { Printer* pPrinter = pImpl->pPrinter; @@ -851,16 +838,6 @@ void SvxFontPrevWindow::Paint( const Rectangle& ) } } -sal_Bool SvxFontPrevWindow::IsTwoLines() const -{ - return pImpl->bTwoLines; -} - -void SvxFontPrevWindow::SetTwoLines(sal_Bool bSet) -{ - pImpl->bTwoLines = bSet; -} - void SvxFontPrevWindow::SetNoLines(sal_Bool bSet) { pImpl->bNoLines = bSet; |