diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 11:17:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 12:25:10 +0100 |
commit | bfafc8c3a137a98ad2cd939b11161f9961bc48d7 (patch) | |
tree | f2f592c370813953e83c0f085ed428b6d67db694 /include | |
parent | 6a84a6ed0b1d30c8feb551a3a4db5aab437a74f7 (diff) |
callcatcher: update unused code
mostly ResId using ctors left stranded post .ui conversion
Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/ControlFactory.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/sidebar/SidebarToolBox.hxx | 11 | ||||
-rw-r--r-- | include/sfx2/tabdlg.hxx | 2 | ||||
-rw-r--r-- | include/svtools/editsyntaxhighlighter.hxx | 1 | ||||
-rw-r--r-- | include/svx/dlgctrl.hxx | 16 | ||||
-rw-r--r-- | include/svx/paraprev.hxx | 1 | ||||
-rw-r--r-- | include/toolkit/helper/tkresmgr.hxx | 3 |
7 files changed, 5 insertions, 33 deletions
diff --git a/include/sfx2/sidebar/ControlFactory.hxx b/include/sfx2/sidebar/ControlFactory.hxx index be66aecb331b..af6d77121360 100644 --- a/include/sfx2/sidebar/ControlFactory.hxx +++ b/include/sfx2/sidebar/ControlFactory.hxx @@ -42,10 +42,6 @@ public: static CheckBox* CreateMenuButton (Window* pParentWindow); static ImageRadioButton* CreateTabItem (Window* pParentWindow); - - static ImageRadioButton* CreateCustomImageRadionButton( - Window* pParentWindow, - const ResId& rResId ); }; diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx index ec63cc370909..c3e01b852a8b 100644 --- a/include/sfx2/sidebar/SidebarToolBox.hxx +++ b/include/sfx2/sidebar/SidebarToolBox.hxx @@ -41,16 +41,7 @@ class SFX2_DLLPUBLIC SidebarToolBox : public ToolBox { public: - /** Create a new tool box. - When a valid XFrame is given then the tool box will handle its - buttons and drop-downs. Otherwise the caller has to do that. - */ - SidebarToolBox ( - Window* pParentWindow, - const ResId& rResId, - const cssu::Reference<css::frame::XFrame>& rxFrame); - SidebarToolBox ( - Window* pParentWindow); + SidebarToolBox(Window* pParentWindow); virtual ~SidebarToolBox (void); using ToolBox::InsertItem; diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index ee8c1f67a514..9d311838cc46 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -223,8 +223,6 @@ public: const SfxItemSet* GetExampleSet() const { return pExampleSet; } SfxViewFrame* GetViewFrame() const { return pFrame; } - void EnableApplyButton(sal_Bool bEnable = sal_True); - sal_Bool IsApplyButtonEnabled() const; void SetApplyHandler(const Link& _rHdl); SAL_DLLPRIVATE void Start_Impl(); diff --git a/include/svtools/editsyntaxhighlighter.hxx b/include/svtools/editsyntaxhighlighter.hxx index 747d0567c213..6f1adba5ab81 100644 --- a/include/svtools/editsyntaxhighlighter.hxx +++ b/include/svtools/editsyntaxhighlighter.hxx @@ -40,7 +40,6 @@ class SVT_DLLPUBLIC MultiLineEditSyntaxHighlight : public MultiLineEdit public: MultiLineEditSyntaxHighlight( Window* pParent, WinBits nWinStyle = WB_LEFT | WB_BORDER , HighlighterLanguage aLanguage = HIGHLIGHT_SQL); - MultiLineEditSyntaxHighlight( Window* pParent, const ResId& rResId , HighlighterLanguage aLanguage = HIGHLIGHT_SQL); ~MultiLineEditSyntaxHighlight(); virtual void UpdateData(); diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 50563831881e..ed5a3e13f29a 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -177,10 +177,9 @@ protected: void ChangePixel( sal_uInt16 nPixel ); public: - SvxPixelCtl( Window* pParent, const ResId& rResId, sal_uInt16 nNumber = 8 ); - SvxPixelCtl( Window* pParent, sal_uInt16 nNumber = 8 ); + SvxPixelCtl( Window* pParent, sal_uInt16 nNumber = 8 ); - ~SvxPixelCtl(); + ~SvxPixelCtl(); virtual void Paint( const Rectangle& rRect ); virtual void MouseButtonDown( const MouseEvent& rMEvt ); @@ -224,7 +223,6 @@ class SVX_DLLPUBLIC HatchingLB : public ListBox { XHatchListRef mpList; public: - explicit HatchingLB(Window* pParent, ResId Id); explicit HatchingLB(Window* pParent, WinBits aWB); virtual void Fill( const XHatchListRef &pList ); @@ -239,7 +237,6 @@ class SVX_DLLPUBLIC GradientLB : public ListBox { XGradientListRef mpList; public: - explicit GradientLB(Window* pParent, ResId Id); explicit GradientLB(Window* pParent, WinBits aWB); virtual void Fill( const XGradientListRef &pList ); @@ -255,7 +252,6 @@ public: class SVX_DLLPUBLIC BitmapLB : public ListBox { public: - explicit BitmapLB(Window* pParent, ResId Id); explicit BitmapLB(Window* pParent, WinBits aWB); virtual void Fill(const XBitmapListRef &pList); @@ -308,7 +304,6 @@ private: bool mbAddStandardFields : 1; public: - LineLB(Window* pParent, ResId Id); LineLB(Window* pParent, WinBits aWB); virtual ~LineLB(); @@ -328,9 +323,8 @@ class SVX_DLLPUBLIC LineEndLB : public ListBox { public: - LineEndLB( Window* pParent, ResId Id ); - LineEndLB( Window* pParent, WinBits aWB ); - virtual ~LineEndLB (void); + LineEndLB( Window* pParent, WinBits aWB ); + virtual ~LineEndLB (void); virtual void Fill( const XLineEndListRef &pList, bool bStart = true ); @@ -391,7 +385,6 @@ private: Size maSymbolSize; public: - SvxXLinePreview( Window* pParent, const ResId& rResId ); SvxXLinePreview( Window* pParent ); virtual ~SvxXLinePreview(); @@ -417,7 +410,6 @@ private: SdrObject* mpRectangleObject; public: - SvxXRectPreview(Window* pParent, const ResId& rResId); SvxXRectPreview(Window* pParent); virtual ~SvxXRectPreview(); diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx index 5f7fdfab36ae..e0855aee0e76 100644 --- a/include/svx/paraprev.hxx +++ b/include/svx/paraprev.hxx @@ -68,7 +68,6 @@ protected: void DrawParagraph( sal_Bool bAll ); public: - SvxParaPrevWindow( Window* pParent, const ResId& rId ); SvxParaPrevWindow( Window* pParent, WinBits nBits); void SetFirstLineOfst( short nNew ) { nFirstLineOfst = nNew; } diff --git a/include/toolkit/helper/tkresmgr.hxx b/include/toolkit/helper/tkresmgr.hxx index 362220aa0393..8e9c07dc7aa1 100644 --- a/include/toolkit/helper/tkresmgr.hxx +++ b/include/toolkit/helper/tkresmgr.hxx @@ -27,7 +27,6 @@ class SimpleResMgr; class ResMgr; #define TK_RES_STRING(id) TkResMgr::loadString(id) -#define TK_RES_IMAGE(id) TkResMgr::loadImage(id) // ----------------------------------------------------------------------------- // TkResMgr @@ -60,8 +59,6 @@ public: // loads the string with the specified resource id static OUString loadString( sal_uInt16 nResId ); - // loads the image with the specified resource id - static Image loadImage( sal_uInt16 nResId ); static Image getImageFromURL( const OUString& i_rImageURL ); }; |