diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 08:55:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-15 09:07:49 +0100 |
commit | c54f77b7180b271fecff3737bc391e19f050ec11 (patch) | |
tree | 1143e3d23b0478dd8600f4d44741df2a446f0b21 /svx/source/sidebar/text | |
parent | 79aa0c50dae2ff6d143d99212d3a32a8ac28f306 (diff) |
callcatcher: update unused code
All FontSizeBoxs and SmFontPickListBoxs are now .ui loaded, .res ctors unused
Change-Id: I50aa8606fefacab0b15b6795a7ba90dff8109802
Diffstat (limited to 'svx/source/sidebar/text')
-rw-r--r-- | svx/source/sidebar/text/SvxSBFontNameBox.cxx | 13 | ||||
-rw-r--r-- | svx/source/sidebar/text/SvxSBFontNameBox.hxx | 21 |
2 files changed, 2 insertions, 32 deletions
diff --git a/svx/source/sidebar/text/SvxSBFontNameBox.cxx b/svx/source/sidebar/text/SvxSBFontNameBox.cxx index 89910cc57089..b94c6131e361 100644 --- a/svx/source/sidebar/text/SvxSBFontNameBox.cxx +++ b/svx/source/sidebar/text/SvxSBFontNameBox.cxx @@ -80,19 +80,6 @@ namespace { } } - - - -SvxSBFontNameBox::SvxSBFontNameBox( Window* pParent, const ResId& rResId ) : - FontNameBox ( pParent, rResId ) -, pFontList ( NULL ) -, nFtCount ( 0 ) -, pBindings(NULL) -{ - EnableControls_Impl(); -// StartListening( *SFX_APP() ); -} - SvxSBFontNameBox::SvxSBFontNameBox( Window* pParent ) : FontNameBox ( pParent, WB_LEFT|WB_VCENTER|WB_3DLOOK|WB_TABSTOP|WB_DROPDOWN ) , pFontList ( NULL ) diff --git a/svx/source/sidebar/text/SvxSBFontNameBox.hxx b/svx/source/sidebar/text/SvxSBFontNameBox.hxx index 7470f06d55e0..558399f2febc 100644 --- a/svx/source/sidebar/text/SvxSBFontNameBox.hxx +++ b/svx/source/sidebar/text/SvxSBFontNameBox.hxx @@ -22,22 +22,6 @@ #include <svtools/ctrlbox.hxx> #include <svtools/ctrltool.hxx> -/* -#include <sfx2/sectionpage.hxx> -#include <svx/svxdllapi.h> -#include <vcl/fixed.hxx> - -#include <vcl/button.hxx> -#include <svl/lstner.hxx> -#include <vcl/toolbox.hxx> - -#include <svx/tbxcolorupdate.hxx> -#include <svx/svxenum.hxx> -#include <svx/fhgtitem.hxx> - -#define FONT_COLOR 1 -#define BACK_COLOR 2 -*/ namespace svx { class ToolboxButtonColorUpdater; @@ -58,10 +42,9 @@ protected: virtual void Select(); public: - SvxSBFontNameBox( Window* pParent, const ResId& rResId ); - SvxSBFontNameBox( Window* pParent ); + SvxSBFontNameBox(Window* pParent); void FillList(); - sal_uInt16 GetListCount() { return nFtCount; } + sal_uInt16 GetListCount() const { return nFtCount; } void Clear() { FontNameBox::Clear(); nFtCount = 0; } void Fill( const FontList* pList ) { FontNameBox::Fill( pList ); |