diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-15 13:41:11 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 05:47:52 +0000 |
commit | 4ca2cf1b7e57c823e911bcbae0c87102a7c9851e (patch) | |
tree | 28725536883828d5d7af2cb8a4e7733968888d9d /include/sfx2/tabdlg.hxx | |
parent | Translate German comments (diff) | |
download | core-4ca2cf1b7e57c823e911bcbae0c87102a7c9851e.tar.gz core-4ca2cf1b7e57c823e911bcbae0c87102a7c9851e.zip |
loplugin:unusedmethods sfx2
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62
Reviewed-on: https://gerrit.libreoffice.org/17069
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/tabdlg.hxx')
-rw-r--r-- | include/sfx2/tabdlg.hxx | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index 84e1a0751b09..3fc2c41cb0f4 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -145,21 +145,11 @@ public: GetTabPageRanges pRangesFunc, // can be 0 bool bItemsOnDemand = false, sal_uInt16 nPos = TAB_APPEND); - void AddTabPage( sal_uInt16 nId, - const Bitmap &rRiderBitmap, - CreateTabPage pCreateFunc, // != 0 - GetTabPageRanges pRangesFunc, // can be 0 - bool bItemsOnDemand = false, - sal_uInt16 nPos = TAB_APPEND); void AddTabPage( sal_uInt16 nId, const OUString &rRiderText, bool bItemsOnDemand = false, sal_uInt16 nPos = TAB_APPEND); - void AddTabPage( sal_uInt16 nId, - const Bitmap &rRiderBitmap, - bool bItemsOnDemand = false, - sal_uInt16 nPos = TAB_APPEND); void RemoveTabPage( const OString& rName ); // Name of the label for the page in the notebook .ui void RemoveTabPage( sal_uInt16 nId ); @@ -198,8 +188,6 @@ public: PushButton& GetOKButton() { return *m_pOKBtn; } const CancelButton& GetCancelButton() const { return *m_pCancelBtn; } CancelButton& GetCancelButton() { return *m_pCancelBtn; } - const HelpButton& GetHelpButton() const { return *m_pHelpBtn; } - HelpButton& GetHelpButton() { return *m_pHelpBtn; } const PushButton* GetUserButton() const { return m_pUserBtn; } PushButton* GetUserButton() { return m_pUserBtn; } @@ -212,7 +200,6 @@ public: const SfxItemSet* GetExampleSet() const { return pExampleSet; } SfxItemSet* GetExampleSet() { return pExampleSet; } - SfxViewFrame* GetViewFrame() const { return pFrame; } void SetApplyHandler(const Link<>& _rHdl); @@ -239,9 +226,7 @@ private: protected: SfxTabPage(vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet *rAttrSet); - sal_uInt16 GetSlot( sal_uInt16 nWhich ) const - { return pSet->GetPool()->GetSlotId( nWhich ); } - sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const + sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const { return pSet->GetPool()->GetWhich( nSlot, bDeep ); } const SfxPoolItem* GetOldItem( const SfxItemSet& rSet, sal_uInt16 nSlot, bool bDeep = true ); SfxTabDialog* GetTabDialog() const; |