diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-12-08 18:09:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-12-10 09:28:16 +0000 |
commit | d0b590fe19b45e2248adff22c6fe61a4049a7db8 (patch) | |
tree | 36ff9d9f0a7799595062d70c262395abea2400c5 /svx | |
parent | guard against div by 0 (diff) | |
download | core-d0b590fe19b45e2248adff22c6fe61a4049a7db8.tar.gz core-d0b590fe19b45e2248adff22c6fe61a4049a7db8.zip |
callcatcher: remove unused rtf filter and associated methods
update and remove newly unused code, mostly original rtf filter
Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/fontlb.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/numvset.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/fontlb.cxx | 9 | ||||
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 12 |
4 files changed, 1 insertions, 25 deletions
diff --git a/svx/inc/svx/fontlb.hxx b/svx/inc/svx/fontlb.hxx index c97df391b12e..b45ed086efd0 100644 --- a/svx/inc/svx/fontlb.hxx +++ b/svx/inc/svx/fontlb.hxx @@ -70,8 +70,7 @@ private: bool mbUseFont; /// true = Use maEntryFont/mpEntryColor in InitEntry(). public: - SvxFontListBox(Window* pParent, const ResId& rResId); - SvxFontListBox(Window* pParent, WinBits nStyle = WB_BORDER); + SvxFontListBox(Window* pParent, WinBits nStyle = WB_BORDER); /** Inserts a list entry and sets the font used for this entry. @param pColor The font color. NULL = use default listbox text color. */ diff --git a/svx/inc/svx/numvset.hxx b/svx/inc/svx/numvset.hxx index 030f0231b47f..ce392797ff0e 100644 --- a/svx/inc/svx/numvset.hxx +++ b/svx/inc/svx/numvset.hxx @@ -69,7 +69,6 @@ class SVX_DLLPUBLIC SvxNumValueSet : public ValueSet public: SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 nType ); - SvxNumValueSet( Window* pParent, WinBits nWinStyle, sal_uInt16 nType ); ~SvxNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); @@ -108,7 +107,6 @@ class SVX_DLLPUBLIC SvxBmpNumValueSet : public SvxNumValueSet public: SvxBmpNumValueSet(Window* pParent, const ResId& rResId); - SvxBmpNumValueSet(Window* pParent, WinBits nWinStyle); ~SvxBmpNumValueSet(); virtual void UserDraw( const UserDrawEvent& rUDEvt ); diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx index 1ac29f4c75d3..1e6ceb8f8490 100644 --- a/svx/source/dialog/fontlb.cxx +++ b/svx/source/dialog/fontlb.cxx @@ -88,15 +88,6 @@ void SvLBoxFontString::InitViewData( SvTreeListBox* pView, SvTreeListEntry* pEnt // ============================================================================ -SvxFontListBox::SvxFontListBox(Window* pParent, const ResId& rResId) - : SvTabListBox(pParent, rResId) - , maStdFont(GetFont()) - , mbUseFont(false) -{ - maStdFont.SetTransparent(sal_True); - maEntryFont = maStdFont; -} - SvxFontListBox::SvxFontListBox(Window* pParent, WinBits nStyle) : SvTabListBox(pParent, nStyle) , maStdFont(GetFont()) diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 960f8d16261c..d521773d55e6 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -399,12 +399,6 @@ SvxNumValueSet::SvxNumValueSet( Window* pParent, const ResId& rResId, sal_uInt16 init(nType); } -SvxNumValueSet::SvxNumValueSet( Window* pParent, WinBits nWinStyle, sal_uInt16 nType ) - : ValueSet( pParent, nWinStyle ) -{ - init(nType); -} - void SvxNumValueSet::init(sal_uInt16 nType) { aLineColor = COL_LIGHTGRAY; @@ -472,12 +466,6 @@ SvxBmpNumValueSet::SvxBmpNumValueSet( Window* pParent, const ResId& rResId ) init(); } -SvxBmpNumValueSet::SvxBmpNumValueSet( Window* pParent, WinBits nWinStyle ) - : SvxNumValueSet( pParent, nWinStyle, NUM_PAGETYPE_BMP ) -{ - init(); -} - void SvxBmpNumValueSet::init() { bGrfNotFound = sal_False; |