diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 08:56:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 10:12:04 +0200 |
commit | 3b65ce7996c8cedcdb710275a0d1fb948b5d78bb (patch) | |
tree | 28dd1d63d79ebf7249f9a1f13fd24219fc5197b9 /include | |
parent | 4c1f44047aa680c2e2e84986353ab2b2f375f6f2 (diff) |
loplugin:unusedmethods
Change-Id: I5fd081780d46fd30864830eea2956bad6dc3e222
Reviewed-on: https://gerrit.libreoffice.org/81360
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/ControllerItem.hxx | 6 | ||||
-rw-r--r-- | include/svx/langbox.hxx | 41 | ||||
-rw-r--r-- | include/vcl/syswin.hxx | 2 | ||||
-rw-r--r-- | include/vcl/toolkit/tabdlg.hxx | 4 | ||||
-rw-r--r-- | include/vcl/treelist.hxx | 1 | ||||
-rw-r--r-- | include/vcl/treelistbox.hxx | 1 | ||||
-rw-r--r-- | include/vcl/window.hxx | 10 |
7 files changed, 0 insertions, 65 deletions
diff --git a/include/sfx2/sidebar/ControllerItem.hxx b/include/sfx2/sidebar/ControllerItem.hxx index 521be277e45f..ddec5c8fc6af 100644 --- a/include/sfx2/sidebar/ControllerItem.hxx +++ b/include/sfx2/sidebar/ControllerItem.hxx @@ -62,12 +62,6 @@ public: virtual ~ControllerItem() override; - /** Returns </TRUE> when the slot/command has not been disabled. - Changes of this state are notified via the - ItemUpdateReceiverInterface::NotifyContextChang() method. - */ - static bool IsEnabled (const SfxItemState eState); - /** Force the controller item to call its NotifyItemUpdate callback with up-to-date data. */ diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index d693e684e1be..fe46cb0fad2d 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -48,47 +48,6 @@ namespace o3tl // load language strings from resource SVX_DLLPUBLIC OUString GetDicInfoStr( const OUString& rName, const LanguageType nLang, bool bNeg ); -class SVX_DLLPUBLIC SvxLanguageBoxBase -{ -private: - SvxLanguageBoxBase(const SvxLanguageBoxBase&) = delete; - SvxLanguageBoxBase& operator=(const SvxLanguageBoxBase&) = delete; -public: - explicit SvxLanguageBoxBase(); - virtual ~SvxLanguageBoxBase(); - - void SetLanguageList( SvxLanguageListFlags nLangList, - bool bHasLangNone, - bool bCheckSpellAvail ); - - void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList ); - - sal_Int32 InsertLanguage( const LanguageType eLangType ); - void SelectLanguage( const LanguageType eLangType ); - LanguageType GetSelectedLanguage() const; - -protected: - Image m_aNotCheckedImage; - Image m_aCheckedImage; - std::unique_ptr<css::uno::Sequence< sal_Int16 >> - m_pSpellUsedLang; - bool m_bWithCheckmark; - - SVX_DLLPRIVATE void ImplLanguageBoxBaseInit(); - SVX_DLLPRIVATE sal_Int32 ImplInsertLanguage(LanguageType, sal_Int32 nPos, sal_Int16 nType); - SVX_DLLPRIVATE sal_Int32 ImplTypeToPos( LanguageType eType ) const; - - SVX_DLLPRIVATE virtual sal_Int32 ImplInsertImgEntry( const OUString& rEntry, sal_Int32 nPos, bool bChecked ) = 0; - - SVX_DLLPRIVATE virtual void ImplClear() = 0; - SVX_DLLPRIVATE virtual sal_Int32 ImplInsertEntry( const OUString& rEntry, sal_Int32 nPos ) = 0; - SVX_DLLPRIVATE virtual void ImplSetEntryData( sal_Int32 nPos, void* pData ) = 0; - SVX_DLLPRIVATE virtual sal_Int32 ImplGetSelectedEntryPos() const = 0; - SVX_DLLPRIVATE virtual void* ImplGetEntryData( sal_Int32 nPos ) const = 0; - SVX_DLLPRIVATE virtual void ImplSelectEntryPos( sal_Int32 nPos, bool bSelect ) = 0; - SVX_DLLPRIVATE virtual sal_Int32 ImplGetEntryPos( const void* pData ) const = 0; -}; - class SVX_DLLPUBLIC SvxLanguageBox { public: diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx index cb6d15d27ead..57ca00e619a7 100644 --- a/include/vcl/syswin.hxx +++ b/include/vcl/syswin.hxx @@ -285,8 +285,6 @@ public: virtual void doDeferredInit(WinBits nBits); // Screenshot interface - virtual std::vector<OString> getAllPageUIXMLDescriptions() const; - virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription); void createScreenshot(VirtualDevice& rOutput); }; diff --git a/include/vcl/toolkit/tabdlg.hxx b/include/vcl/toolkit/tabdlg.hxx index ae8aa931d79d..5d883b826a52 100644 --- a/include/vcl/toolkit/tabdlg.hxx +++ b/include/vcl/toolkit/tabdlg.hxx @@ -40,10 +40,6 @@ public: virtual void dispose() override; virtual void StateChanged( StateChangedType nStateChange ) override; - - // Screenshot interface - virtual std::vector<OString> getAllPageUIXMLDescriptions() const override; - virtual bool selectPageByUIXMLDescription(const OString& rUIXMLDescription) override; }; #endif // INCLUDED_VCL_TABDLG_HXX diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx index 15931d79f9d6..20045cb21804 100644 --- a/include/vcl/treelist.hxx +++ b/include/vcl/treelist.hxx @@ -113,7 +113,6 @@ class VCL_DLLPUBLIC SvTreeList final ); VCL_DLLPRIVATE void ResortChildren( SvTreeListEntry* pParent ); - VCL_DLLPRIVATE void ReverseChildren( SvTreeListEntry* pParent ); SvTreeList(const SvTreeList&) = delete; SvTreeList& operator= (const SvTreeList&) = delete; diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index 4dcd516cea22..f370d284e59f 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -549,7 +549,6 @@ protected: void ImplEditEntry( SvTreeListEntry* pEntry ); bool AreChildrenTransient() const; - void SetChildrenNotTransient(); void AdjustEntryHeightAndRecalc(); public: diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 58dad46aeef2..071fe5f8bd26 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1147,16 +1147,6 @@ public: void SetHelpId( const OString& ); const OString& GetHelpId() const; - /** String ID of this window for the purpose of creating a screenshot - - In default implementation this ID is the same as HelpId. Override this method - in windows (dialogs,tabpages) that need different IDs for different configurations - they can be in - - @return screenshot ID of this window - */ - virtual OString GetScreenshotId() const; - vcl::Window* FindWindow( const Point& rPos ) const; sal_uInt16 GetChildCount() const; |