diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 08:51:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 17:17:36 +0200 |
commit | 53312ca4ee722a6d5ba22d1f578c6de5fbc37207 (patch) | |
tree | 0958ed3af146236305947489425f12f73e9cbcc9 /include | |
parent | 4aa60490622cc10f8d3a31489c62a5622d240c83 (diff) |
loplugin:unusedmethods
Change-Id: I52efd8d843d0e4cc7a6adefb0eb95aa50469af38
Reviewed-on: https://gerrit.libreoffice.org/73693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 2 | ||||
-rw-r--r-- | include/svx/contdlg.hxx | 4 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/langbox.hxx | 3 | ||||
-rw-r--r-- | include/vcl/bitmap.hxx | 2 | ||||
-rw-r--r-- | include/vcl/layout.hxx | 4 | ||||
-rw-r--r-- | include/vcl/tabdlg.hxx | 2 | ||||
-rw-r--r-- | include/vcl/toolbox.hxx | 1 |
10 files changed, 0 insertions, 26 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index b03a7a242a92..b6e815dfd591 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -390,7 +390,6 @@ public: sal_uInt16 GetExistingLineCount() const { return m_aCustomPropertiesLines.size(); } sal_uInt16 GetTotalLineCount() const { return m_aCustomProperties.size(); } - sal_uInt16 GetVisibleLineCount() const; void SetVisibleLineCount(sal_uInt32 nCount); sal_Int32 GetHeight() const { return m_nHeight; } void SetHeight(int nHeight) { m_nHeight = nHeight; } @@ -519,7 +518,6 @@ struct CmisPropertyLine std::vector< std::unique_ptr<CmisValue> > m_aValues; std::vector< std::unique_ptr<CmisDateTime> > m_aDateTimes; std::vector< std::unique_ptr<CmisYesNo> > m_aYesNos; - long getItemHeight() const; CmisPropertyLine(weld::Widget* pParent); ~CmisPropertyLine(); }; diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index def518dca0e0..9161252957c8 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -88,10 +88,6 @@ public: DECL_LINK(ContextMenuSelectHdl, Menu*, bool); - TemplateContainerItem* getRegion(OUString const & sStr); - - OUString getRegionName(const sal_uInt16 nRegionId) const; - virtual bool renameItem(ThumbnailViewItem* pItem, const OUString& sNewTitle) override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index dd9c860afbcc..95216f3eb758 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -192,8 +192,6 @@ public: void AppendItem(std::unique_ptr<ThumbnailViewItem> pItem); - void RemoveItem(sal_uInt16 nItemId); - virtual void Clear(); // Change current thumbnail item list with new one (invalidates all pointers to a thumbnail item) diff --git a/include/svx/contdlg.hxx b/include/svx/contdlg.hxx index 4a488543622f..62a430390465 100644 --- a/include/svx/contdlg.hxx +++ b/include/svx/contdlg.hxx @@ -54,10 +54,6 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxContourDlg : public SfxModelessDialogCont { std::unique_ptr<SvxSuperContourDlg> m_xImpl; -protected: - - void SetSuperClass( SvxSuperContourDlg& rSuperClass ); - public: SvxContourDlg(SfxBindings *pBindings, SfxChildWindow *pCW, weld::Window* pParent); diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index df12355ef42a..90cc67fbfad8 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -52,8 +52,6 @@ public: virtual void StateChanged( StateChangedType nStateChange ) override; virtual void DataChanged( const DataChangedEvent& rDCEvt ) override; - void Init( const SfxItemSet& rSet ); - // for reasons of efficiency not const SvxFont& GetFont(); const SvxFont& GetFont() const; diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx index 48efdc26db81..63210359b2e0 100644 --- a/include/svx/langbox.hxx +++ b/include/svx/langbox.hxx @@ -66,11 +66,8 @@ public: sal_Int32 InsertLanguage( const LanguageType eLangType ); void InsertDefaultLanguage( sal_Int16 nType ); void InsertSystemLanguage(); - void InsertLanguage( const LanguageType eLangType, - bool bCheckEntry ); void SelectLanguage( const LanguageType eLangType ); LanguageType GetSelectedLanguage() const; - bool IsLanguageSelected( const LanguageType eLangType ) const; protected: Image m_aNotCheckedImage; diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index 71007c86b33d..dcc862ed7779 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -116,8 +116,6 @@ public: inline bool operator!() const; bool operator==( const Bitmap& rBitmap ) const; bool operator!=( const Bitmap& rBitmap ) const { return !operator==(rBitmap); } - // only compares if we are using the same internal copy-on-write SalBitmap class - bool ShallowEquals( const Bitmap& rBitmap ) const { return mxSalBmp == rBitmap.mxSalBmp; } inline bool IsEmpty() const; void SetEmpty(); diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx index cb031a0efe3b..fa8765277488 100644 --- a/include/vcl/layout.hxx +++ b/include/vcl/layout.hxx @@ -810,10 +810,6 @@ inline bool isContainerWindow(const vcl::Window *pWindow) return pWindow && isContainerWindow(*pWindow); } -//Returns true if the containing dialog is doing its initial -//layout and isn't visible yet -VCL_DLLPUBLIC bool isInitialLayout(const vcl::Window *pWindow); - // retro-fitting utilities //Get a Size which is large enough to contain all children with diff --git a/include/vcl/tabdlg.hxx b/include/vcl/tabdlg.hxx index 7c6c18b473d3..d42382a0a347 100644 --- a/include/vcl/tabdlg.hxx +++ b/include/vcl/tabdlg.hxx @@ -45,9 +45,7 @@ public: virtual void StateChanged( StateChangedType nStateChange ) override; - void SetViewWindow( vcl::Window* pWindow ) { mpViewWindow = pWindow; } vcl::Window* GetViewWindow() const { return mpViewWindow; } - void SetViewAlign( WindowAlign eAlign ) { meViewAlign = eAlign; } // Screenshot interface virtual std::vector<OString> getAllPageUIXMLDescriptions() const override; diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 8b43fa65d75b..1908a2bb296a 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -368,7 +368,6 @@ public: sal_uInt16 GetCurItemId() const { return mnCurItemId; } sal_uInt16 GetDownItemId() const { return mnDownItemId; } sal_uInt16 GetModifier() const { return mnMouseModifier; } - sal_uInt16 GetKeyModifier() const { return mnKeyModifier; } void SetItemBits( sal_uInt16 nItemId, ToolBoxItemBits nBits ); ToolBoxItemBits GetItemBits( sal_uInt16 nItemId ) const; |