diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-17 13:23:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-18 06:15:55 +0000 |
commit | 292560a957498bed70b625c992ec6bcf631dceb3 (patch) | |
tree | 4b4c39fbabf370d870ac9a5b2c6154df2238599a /include/svx | |
parent | e64ea98801d20e5024da900a0ac8faaf565f4bf3 (diff) |
loplugin:unusedmethods
Change-Id: Icf773925c37dde8b7404edac9864e7b10fe113b4
Reviewed-on: https://gerrit.libreoffice.org/29968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/dlgctrl.hxx | 9 | ||||
-rw-r--r-- | include/svx/nbdtmg.hxx | 37 | ||||
-rw-r--r-- | include/svx/sidebar/ValueSetWithTextControl.hxx | 9 |
3 files changed, 0 insertions, 55 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 8d923610c355..ae7ecfba0c96 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -227,8 +227,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC HatchingLB : public ListBox XHatchListRef mpList; public: explicit HatchingLB(vcl::Window* pParent, WinBits aWB); - - void Fill( const XHatchListRef &pList ); }; /************************************************************************/ @@ -238,11 +236,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC GradientLB : public ListBox XGradientListRef mpList; public: explicit GradientLB(vcl::Window* pParent, WinBits aWB); - - void Fill( const XGradientListRef &pList ); - - void SelectEntryByList( const XGradientListRef &pList, const OUString& rStr, - const XGradient& rXGradient ); }; /************************************************************************/ @@ -252,8 +245,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC BitmapLB : public ListBox public: explicit BitmapLB(vcl::Window* pParent, WinBits aWB); - void Fill(const XBitmapListRef &pList); - private: BitmapEx maBitmapEx; diff --git a/include/svx/nbdtmg.hxx b/include/svx/nbdtmg.hxx index e87b9b8fba72..8813a36ca83f 100644 --- a/include/svx/nbdtmg.hxx +++ b/include/svx/nbdtmg.hxx @@ -102,41 +102,6 @@ class SVX_DLLPUBLIC BulletsSettings_Impl:public BulletsSettings virtual ~BulletsSettings_Impl() override {} }; -class SVX_DLLPUBLIC GrfBulDataRelation: public BulletsSettings -{ - public: - OUString sGrfName; - sal_uInt16 nTabIndex; - sal_uInt16 nGallaryIndex; - const Graphic* pGrfObj; - Size aSize; - GrfBulDataRelation(NBType eTy): - BulletsSettings(eTy), - nTabIndex((sal_uInt16)0xFFFF), - nGallaryIndex((sal_uInt16)0xFFFF), - pGrfObj(nullptr), - aSize(0,0) - {} - virtual ~GrfBulDataRelation() override {} -}; - -class SVX_DLLPUBLIC MixBulletsSettings_Impl -{ - public: - NBType eType; - sal_uInt16 nIndex; //index in the tab page display - sal_uInt16 nIndexDefault; - BulletsSettings* pBullets; - public: - MixBulletsSettings_Impl(NBType eTy) : - eType(eTy), - nIndex((sal_uInt16)0xFFFF), - nIndexDefault((sal_uInt16)0xFFFF), - pBullets(nullptr) - {} - ~MixBulletsSettings_Impl(){} -}; - class SVX_DLLPUBLIC NumberSettings_Impl { public: @@ -230,8 +195,6 @@ class SVX_DLLPUBLIC BulletsTypeMgr: public NBOTypeMgrBase virtual void ApplyNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uInt16 mLevel, bool isDefault=false,bool isResetSize=false) override; virtual OUString GetDescription(sal_uInt16 nIndex,bool isDefault=false) override; virtual bool IsCustomized(sal_uInt16 nIndex) override; - static sal_Unicode GetBulChar(sal_uInt16 nIndex); - static vcl::Font GetBulCharFont(sal_uInt16 nIndex); static BulletsTypeMgr& GetInstance(); }; diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index aa745ba60a30..619c77a22b2a 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -49,15 +49,6 @@ public: ValueSetWithTextControl(Window* pParent, WinBits nBits); - // add item for control type IMAGE_TEXT - // if control type does not match IMAGE_TEXT no item is added. - // @param pItemHelpText - // help text is optional. if not provided, it is the same as the item text - void AddItem( - const Image& rItemImage, - const OUString& rItemText, - const OUString* pItemHelpText ); - // add item for control type TEXT_TEXT // if control type does not match TEXT_TEXT no item is added. void AddItem( |