summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 14:28:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-20 14:35:55 +0100
commit01702f7d5f52b72a890f6a0173d42199c587e01f (patch)
tree40ec6952bf34536c9f9dc7a487cc5636595a636c /vcl/source/window/toolbox2.cxx
parentaee42a7bf199ce537273184428a892e74d7deea7 (diff)
loplugin:unusedmethods
Change-Id: Ie5e90b3c834a1154ec49dc765a5031f6bdd35923 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87070 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r--vcl/source/window/toolbox2.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index e75ec1436c52..2db4448a4f5d 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1084,20 +1084,6 @@ vcl::Window* ToolBox::GetItemWindow( sal_uInt16 nItemId ) const
return nullptr;
}
-void ToolBox::StartSelection()
-{
- if ( mbDrag )
- EndSelection();
-
- if ( !mbSelection )
- {
- mbSelection = true;
- mnCurPos = ITEM_NOTFOUND;
- mnCurItemId = 0;
- Activate();
- }
-}
-
void ToolBox::EndSelection()
{
if ( mbDrag || mbSelection )