diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-18 15:20:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-19 07:59:43 +0200 |
commit | 74f938bb10b6db8cae071efc9fd29015befeb5e6 (patch) | |
tree | 8d35905cdf1293819797c6b03bb93678b63796cc /include | |
parent | b98cb40d974d40d131b6b25f96e9c53890154296 (diff) |
loplugin:unusedmethods
Change-Id: I95e63105654952d12c1dfd62f51593de114be569
Reviewed-on: https://gerrit.libreoffice.org/81077
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/mediadescriptor.hxx | 1 | ||||
-rw-r--r-- | include/vcl/combobox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/dialog.hxx | 1 | ||||
-rw-r--r-- | include/vcl/headbar.hxx | 2 | ||||
-rw-r--r-- | include/vcl/pdfextoutdevdata.hxx | 1 | ||||
-rw-r--r-- | include/vcl/svtabbx.hxx | 9 | ||||
-rw-r--r-- | include/vcl/treelist.hxx | 4 |
7 files changed, 1 insertions, 19 deletions
diff --git a/include/unotools/mediadescriptor.hxx b/include/unotools/mediadescriptor.hxx index b2260b5652ff..6a826ce309ac 100644 --- a/include/unotools/mediadescriptor.hxx +++ b/include/unotools/mediadescriptor.hxx @@ -100,7 +100,6 @@ class UNOTOOLS_DLLPUBLIC MediaDescriptor : public comphelper::SequenceAsHashMap static const OUString& PROP_VIEWONLY(); static const OUString& PROP_DOCUMENTBASEURL(); static const OUString& PROP_SUGGESTEDSAVEASNAME(); - static const OUString& PROP_LOCKCONTENTEXTRACTION(); // interface public: diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 1993d00e0ae6..0f7f43695b0d 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -91,7 +91,6 @@ public: void Clear(); void EnableSelectAll(); sal_Int32 GetEntryPos( const OUString& rStr ) const; - sal_Int32 GetEntryPos( const void* pData ) const; Image GetEntryImage( sal_Int32 nPos ) const; OUString GetEntry( sal_Int32 nPos ) const; sal_Int32 GetEntryCount() const; @@ -118,7 +117,6 @@ public: void EnableAutocomplete( bool bEnable, bool bMatchCase = false ); bool IsAutocompleteEnabled() const; - void EnableMultiSelection( bool bMulti ); bool IsMultiSelectionEnabled() const; void SetSelectHdl(const Link<ComboBox&,void>& rLink); diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx index ee2560abc475..f0a418939cde 100644 --- a/include/vcl/dialog.hxx +++ b/include/vcl/dialog.hxx @@ -95,7 +95,6 @@ protected: public: explicit Dialog( vcl::Window* pParent, WinBits nStyle = WB_STDDIALOG, InitFlag eFlag = InitFlag::Default ); - explicit Dialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription ); virtual ~Dialog() override; virtual void dispose() override; diff --git a/include/vcl/headbar.hxx b/include/vcl/headbar.hxx index cac9b8c4717b..1636ebc732f2 100644 --- a/include/vcl/headbar.hxx +++ b/include/vcl/headbar.hxx @@ -293,7 +293,6 @@ public: sal_uInt16 GetItemId( const Point& rPos ) const; tools::Rectangle GetItemRect( sal_uInt16 nItemId ) const; sal_uInt16 GetCurItemId() const { return mnCurItemId; } - long GetDragPos() const { return mnDragPos; } bool IsItemMode() const { return mbItemMode; } void SetItemSize( sal_uInt16 nItemId, long nNewSize ); @@ -311,7 +310,6 @@ public: using Window::SetHelpId; void SetStartDragHdl( const Link<HeaderBar*,void>& rLink ) { maStartDragHdl = rLink; } - void SetDragHdl( const Link<HeaderBar*,void>& rLink ) { maDragHdl = rLink; } void SetEndDragHdl( const Link<HeaderBar*,void>& rLink ) { maEndDragHdl = rLink; } void SetSelectHdl( const Link<HeaderBar*,void>& rLink ) { maSelectHdl = rLink; } void SetCreateAccessibleHdl( const Link<HeaderBar*,void>& rLink ) { maCreateAccessibleHdl = rLink; } diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx index a352f04c2784..e991d5cb2562 100644 --- a/include/vcl/pdfextoutdevdata.hxx +++ b/include/vcl/pdfextoutdevdata.hxx @@ -123,7 +123,6 @@ public: bool GetIsExportHiddenSlides() const { return mbExportHiddenSlides;} void SetIsExportHiddenSlides( const bool bExportHiddenSlides ); - bool GetIsSinglePageSheets() const { return mbSinglePageSheets;} void SetIsSinglePageSheets( const bool bSinglePageSheets ); bool GetIsExportNamedDestinations() const { return mbExportNDests;} //i56629 diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx index 2abc0a9b28a1..bec86aa8c9ba 100644 --- a/include/vcl/svtabbx.hxx +++ b/include/vcl/svtabbx.hxx @@ -66,9 +66,7 @@ public: virtual ~SvTabListBox() override; virtual void dispose() override; void SetTabs(sal_uInt16 nTabs, long const pTabPositions[], MapUnit = MapUnit::MapAppFont); - sal_uInt16 TabCount() const { return mvTabList.size(); } using SvTreeListBox::GetTab; - long GetTab( sal_uInt16 nTab ) const; void SetTab( sal_uInt16 nTab, long nValue, MapUnit = MapUnit::MapAppFont ); long GetLogicTab( sal_uInt16 nTab ); @@ -100,12 +98,6 @@ public: void SetTabJustify( sal_uInt16 nTab, SvTabJustify ); }; -inline long SvTabListBox::GetTab( sal_uInt16 nTab ) const -{ - DBG_ASSERT( nTab < mvTabList.size(), "GetTabPos:Invalid Tab" ); - return mvTabList[nTab].GetPos(); -} - // class SvHeaderTabListBox --------------------------------------------------- class HeaderBar; @@ -151,7 +143,6 @@ public: // Accessible ------------------------------------------------------------- - void DisableTransientChildren() { SetChildrenNotTransient(); } bool IsTransientChildrenDisabled() const { return !AreChildrenTransient(); } bool IsCellCheckBox( long _nRow, sal_uInt16 _nColumn, TriState& _rState ); diff --git a/include/vcl/treelist.hxx b/include/vcl/treelist.hxx index 8b56418bf063..61b7ea742832 100644 --- a/include/vcl/treelist.hxx +++ b/include/vcl/treelist.hxx @@ -41,8 +41,7 @@ enum class SvListAction INVALIDATE_ENTRY = 8, RESORTING = 9, RESORTED = 10, - CLEARED = 11, - REVERSED = 13 + CLEARED = 11 }; class SvTreeListEntry; @@ -205,7 +204,6 @@ public: sal_Int32 Compare(const SvTreeListEntry* pLeft, const SvTreeListEntry* pRight) const; void SetCompareHdl( const Link<const SvSortData&, sal_Int32>& rLink ) { aCompareLink = rLink; } void Resort(); - void Reverse(); }; class VCL_DLLPUBLIC SvListView |