summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-15 20:11:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-16 09:21:42 +0200
commitb13eb902dfa3ed3f540e257b6865997ff23d560b (patch)
tree1443c191228ab3f701dd059215ce72844eccca21 /include/vcl
parent27a97ce6f9df24582e07c9f5f920c79ab0851abd (diff)
loplugin:unusedmethods
Change-Id: I52187eccf6170f64d38c673a86dc80818813efa6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94328 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/combobox.hxx2
-rw-r--r--include/vcl/lstbox.hxx2
-rw-r--r--include/vcl/splitwin.hxx1
-rw-r--r--include/vcl/treelistbox.hxx3
-rw-r--r--include/vcl/window.hxx2
5 files changed, 0 insertions, 10 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx
index 88693051ace6..ddea969bde5f 100644
--- a/include/vcl/combobox.hxx
+++ b/include/vcl/combobox.hxx
@@ -113,8 +113,6 @@ public:
bool IsMultiSelectionEnabled() const;
void SetSelectHdl(const Link<ComboBox&,void>& rLink);
- void SetDoubleClickHdl(const Link<ComboBox&,void>& rLink);
- const Link<ComboBox&,void>& GetDoubleClickHdl() const;
void SetEntryActivateHdl(const Link<Edit&,bool>& rLink);
void SetUserDrawHdl(const Link<UserDrawEvent*, void>& rLink);
diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx
index 386d8e89c217..b8df2abc525d 100644
--- a/include/vcl/lstbox.hxx
+++ b/include/vcl/lstbox.hxx
@@ -172,7 +172,6 @@ public:
void SetEntryData( sal_Int32 nPos, void* pNewData );
void* GetEntryData( sal_Int32 nPos ) const;
- void* GetSelectedEntryData() const { return GetEntryData(GetSelectedEntryPos()); }
/** this methods stores a combination of flags from the
ListBoxEntryFlags::* defines at the given entry.
@@ -221,7 +220,6 @@ public:
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; }
Size CalcSubEditSize() const; //size of area inside lstbox, i.e. no scrollbar/dropdown
Size CalcMinimumSize() const; //size of lstbox area, i.e. including scrollbar/dropdown
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 49d08d644e39..fcec64ef7892 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -137,7 +137,6 @@ public:
sal_uInt16 nPos, sal_uInt16 nIntoSetId,
SplitWindowItemFlags nBits );
void RemoveItem( sal_uInt16 nId );
- void Clear();
void SplitItem( sal_uInt16 nId, long nNewSize,
bool bPropSmall,
diff --git a/include/vcl/treelistbox.hxx b/include/vcl/treelistbox.hxx
index 565a943c41a5..879f1ef84276 100644
--- a/include/vcl/treelistbox.hxx
+++ b/include/vcl/treelistbox.hxx
@@ -438,7 +438,6 @@ public:
void SetSelectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aSelectHdl=rNewHdl; }
void SetDeselectHdl( const Link<SvTreeListBox*,void>& rNewHdl ) {aDeselectHdl=rNewHdl; }
void SetDoubleClickHdl(const Link<SvTreeListBox*,bool>& rNewHdl) {aDoubleClickHdl=rNewHdl;}
- const Link<SvTreeListBox*,bool>& GetDoubleClickHdl() const { return aDoubleClickHdl; }
void SetExpandingHdl(const Link<SvTreeListBox*,bool>& rNewHdl){aExpandingHdl=rNewHdl;}
void SetExpandedHdl(const Link<SvTreeListBox*,void>& rNewHdl){aExpandedHdl=rNewHdl;}
void SetPopupMenuHdl(const Link<const CommandEvent&, bool>& rLink) { aPopupMenuHdl = rLink; }
@@ -615,7 +614,6 @@ public:
void SetCheckButtonHdl( const Link<SvTreeListBox*,void>& rLink ) { aCheckButtonHdl=rLink; }
virtual void CheckButtonHdl();
- void SetSublistOpenWithReturn(); // open/close sublist with return/enter
void SetSublistOpenWithLeftRight(); // open/close sublist with cursor left/right
void EnableInplaceEditing( bool bEnable );
@@ -652,7 +650,6 @@ public:
void SetEntryWidth( short nWidth );
Size GetOutputSizePixel() const;
short GetIndent() const { return nIndent; }
- void SetIndent( short nIndent );
void SetSpaceBetweenEntries( short nSpace );
Point GetEntryPosition(const SvTreeListEntry*) const;
void MakeVisible( SvTreeListEntry* pEntry );
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 3d1ce91c93a6..1e5487f3779e 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1043,8 +1043,6 @@ public:
tools::Rectangle GetDesktopRectPixel() const;
// window extents including border and decoration
tools::Rectangle GetWindowExtentsRelative( vcl::Window *pRelativeWindow ) const;
- // window extents of the client window, coordinates to be used in SetPosPixel
- tools::Rectangle GetClientWindowExtentsRelative() const;
bool IsScrollable() const;
virtual void Scroll( long nHorzScroll, long nVertScroll,