diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-23 20:49:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-24 08:12:31 +0200 |
commit | 6a22fc81e219667566b9cc3ed5e9de1898c1fe6b (patch) | |
tree | faf240652c3762ccda48357efb2717b59df6fcc6 /include | |
parent | 951b6a9570ae2665f7b6e7cdd6d24d1fc513ba90 (diff) |
loplugin:unusedmethods
Change-Id: Ieec5099a8ce9fa3f07e36be244071efc1b101cf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92803
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 1 | ||||
-rw-r--r-- | include/svtools/toolbarmenu.hxx | 1 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 4 | ||||
-rw-r--r-- | include/svx/PaletteManager.hxx | 2 | ||||
-rw-r--r-- | include/svx/SvxColorValueSet.hxx | 1 | ||||
-rw-r--r-- | include/vcl/bitmapex.hxx | 5 | ||||
-rw-r--r-- | include/vcl/combobox.hxx | 1 | ||||
-rw-r--r-- | include/vcl/graphictools.hxx | 3 | ||||
-rw-r--r-- | include/vcl/lstbox.hxx | 12 | ||||
-rw-r--r-- | include/vcl/menubtn.hxx | 1 | ||||
-rw-r--r-- | include/vcl/toolkit/field.hxx | 3 | ||||
-rw-r--r-- | include/vcl/treelistbox.hxx | 2 | ||||
-rw-r--r-- | include/vcl/viewdataentry.hxx | 1 |
13 files changed, 1 insertions, 36 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index 3dd48f9dd985..4ecff16ec1ef 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -336,7 +336,6 @@ private: OUString maFontMRUEntriesFile; Idle maUpdateIdle; - SVT_DLLPRIVATE void ImplCalcUserItemSize(); SVT_DLLPRIVATE void ImplDestroyFontList(); DECL_LINK(CustomRenderHdl, weld::ComboBox::render_args, void); diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx index c73882f6b71f..c08da7e9c899 100644 --- a/include/svtools/toolbarmenu.hxx +++ b/include/svtools/toolbarmenu.hxx @@ -63,7 +63,6 @@ public: virtual void dispose() override; protected: - bool IsInPopupMode() const; void EndPopupMode(); private: diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 748802a34c8e..fe516494fff6 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -321,10 +321,6 @@ public: return !mbNoSelection && (nItemId == mnSelItemId); } void SetNoSelection(); - bool IsNoSelection() const - { - return mbNoSelection; - } Color GetItemColor( sal_uInt16 nItemId ) const; OUString GetItemText( sal_uInt16 nItemId ) const; diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx index 40a4af22f7f8..514211960961 100644 --- a/include/svx/PaletteManager.hxx +++ b/include/svx/PaletteManager.hxx @@ -54,9 +54,7 @@ public: PaletteManager(const PaletteManager&) = delete; PaletteManager& operator=(const PaletteManager&) = delete; void LoadPalettes(); - void ReloadColorSet(SvxColorValueSet& rColorSet); void ReloadColorSet(ColorValueSet& rColorSet); - void ReloadRecentColorSet(SvxColorValueSet& rColorSet); void ReloadRecentColorSet(ColorValueSet& rColorSet); std::vector<OUString> GetPaletteList(); void SetPalette( sal_Int32 nPos ); diff --git a/include/svx/SvxColorValueSet.hxx b/include/svx/SvxColorValueSet.hxx index 8c1b50138c8b..d9dc1a9879b3 100644 --- a/include/svx/SvxColorValueSet.hxx +++ b/include/svx/SvxColorValueSet.hxx @@ -38,7 +38,6 @@ public: void addEntriesForXColorList(const XColorList& rXColorList, sal_uInt32 nStartIndex = 1); void addEntriesForColorSet(const std::set<Color>& rColorSet, const OUString& rNamePrefix); - Size layoutAllVisible(sal_uInt32 nEntryCount); Size layoutToGivenHeight(sal_uInt32 nHeight, sal_uInt32 nEntryCount); }; diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx index c2916bf6356d..f8dc7de56520 100644 --- a/include/vcl/bitmapex.hxx +++ b/include/vcl/bitmapex.hxx @@ -95,11 +95,6 @@ public: sal_uLong GetSizeBytes() const; BitmapChecksum GetChecksum() const; - /** - * @brief extract the bitmap and alpha data separately. Used by the SWF filter. - */ - void GetSplitData( std::vector<sal_uInt8>& rvColorData, std::vector<sal_uInt8>& rvAlphaData ) const; - /** Convert bitmap format @param eConversion diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index ef04fff46330..ef52747844cf 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -85,7 +85,6 @@ public: sal_Int32 InsertEntry(const OUString& rStr, sal_Int32 nPos = COMBOBOX_APPEND); sal_Int32 InsertEntryWithImage( const OUString& rStr, const Image& rImage, sal_Int32 nPos = COMBOBOX_APPEND ); - void RemoveEntry( const OUString& rStr ); void RemoveEntryAt(sal_Int32 nPos); void Clear(); diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx index 1c4df9900d2b..90dcbc360d1d 100644 --- a/include/vcl/graphictools.hxx +++ b/include/vcl/graphictools.hxx @@ -321,8 +321,7 @@ public: */ void getTransform ( Transform& ) const; - /// deprecated - bool IsTiling () const { return mbTiling;} + /** Query state of texture tiling @return true, if texture is tiled, false, if output only once. diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index cc6576c32487..3ad859a927db 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -152,7 +152,6 @@ public: sal_Int32 InsertEntry( const OUString& rStr, sal_Int32 nPos = LISTBOX_APPEND ); sal_Int32 InsertEntry( const OUString& rStr, const Image& rImage, sal_Int32 nPos = LISTBOX_APPEND ); - void RemoveEntry( const OUString& rStr ); void RemoveEntry( sal_Int32 nPos ); void Clear(); @@ -187,13 +186,6 @@ public: */ void SetEntryFlags( sal_Int32 nPos, ListBoxEntryFlags nFlags ); - /** this methods gets the current combination of flags from the - ListBoxEntryFlags::* defines from the given entry. - See description of the possible ListBoxEntryFlags::* flags - for details. - */ - ListBoxEntryFlags GetEntryFlags( sal_Int32 nPos ) const; - void SetTopEntry( sal_Int32 nPos ); sal_Int32 GetTopEntry() const; @@ -229,10 +221,6 @@ public: tools::Rectangle GetBoundingRectangle( sal_Int32 nItem ) const; - void EnableUserDraw( bool bUserDraw ); - - void DrawEntry( const UserDrawEvent& rEvt ); - void SetSelectHdl( const Link<ListBox&,void>& rLink ) { maSelectHdl = rLink; } void SetDoubleClickHdl( const Link<ListBox&,void>& rLink ) { maDoubleClickHdl = rLink; } const Link<ListBox&,void>& GetDoubleClickHdl() const { return maDoubleClickHdl; } diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index 01e5a50500f4..609d3d031aab 100644 --- a/include/vcl/menubtn.hxx +++ b/include/vcl/menubtn.hxx @@ -80,7 +80,6 @@ public: void SetPopover(Window* pWindow); - sal_uInt16 GetCurItemId() const { return mnCurItemId; } OString const & GetCurItemIdent() const { return msCurItemIdent; } void SetActivateHdl( const Link<MenuButton *, void>& rLink ) { maActivateHdl = rLink; } diff --git a/include/vcl/toolkit/field.hxx b/include/vcl/toolkit/field.hxx index f0b0a8b3521a..bd3e92e13dcc 100644 --- a/include/vcl/toolkit/field.hxx +++ b/include/vcl/toolkit/field.hxx @@ -118,9 +118,6 @@ public: virtual void ReformatAll() override; - void InsertValue( sal_Int64 nValue, FieldUnit eInUnit = FieldUnit::NONE, - sal_Int32 nPos = COMBOBOX_APPEND ); - // Needed, because GetValue() with nPos hide these functions using MetricFormatter::GetValue; diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx index cce02a9286b6..96f019094e02 100644 --- a/include/vcl/treelistbox.hxx +++ b/include/vcl/treelistbox.hxx @@ -708,11 +708,9 @@ public: SvTreeListEntry* pEntry2, sal_uLong nPos ) override; void EndSelection(); - ScrollBar* GetVScroll(); SvTreeListEntry* GetFirstEntryInView() const; SvTreeListEntry* GetNextEntryInView(SvTreeListEntry*) const; - SvTreeListEntry* GetLastEntryInView() const; void ScrollToAbsPos( long nPos ); void ShowFocusRect( const SvTreeListEntry* pEntry ); diff --git a/include/vcl/viewdataentry.hxx b/include/vcl/viewdataentry.hxx index 74d7d22b98de..85f4d32ed118 100644 --- a/include/vcl/viewdataentry.hxx +++ b/include/vcl/viewdataentry.hxx @@ -72,7 +72,6 @@ public: void SetFocus( bool bFocus ); void SetSelected( bool bSelected ); void SetExpanded( bool bExpanded ); - void SetSelectable( bool bSelectable ); void SetDragTarget( bool bDragTarget ) { mbDragTarget = bDragTarget; |