summaryrefslogtreecommitdiff
path: root/svtools/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-23 09:59:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-23 15:33:20 +0100
commit470bcd37f6dead1346ab39be140045ca17516205 (patch)
tree5f9931946e2f49874ee3a7b99b737ab310c73340 /svtools/source
parente5e337fb77cff58436dd943b1e623811d3a11bd3 (diff)
loplugin:unusedmethods
Change-Id: Ic2212a502bbd42217934884f4fce49f6f8d4765c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87236 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source')
-rw-r--r--svtools/source/control/valueset.cxx43
1 files changed, 0 insertions, 43 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index e05e316e0e64..d9ce31ad08c4 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1981,13 +1981,6 @@ void ValueSet::SetExtraSpacing( sal_uInt16 nNewSpacing )
}
}
-void ValueSet::StartSelection()
-{
- mbHighlight = true;
- mbSelection = true;
- mnHighItemId = mnSelItemId;
-}
-
void ValueSet::EndSelection()
{
if ( mbHighlight )
@@ -2006,42 +1999,6 @@ void ValueSet::SetFormat()
mbFormat = true;
}
-void ValueSet::StartDrag( const CommandEvent& rEvent, vcl::Region& rRegion )
-{
- if ( rEvent.GetCommand() != CommandEventId::StartDrag )
- return;
-
- // if necessary abort an existing action
- EndSelection();
-
- // Check out if the clicked on page is selected. If this is not the
- // case set it as the current item. We only check mouse actions since
- // drag-and-drop can also be triggered by the keyboard
- sal_uInt16 nSelId;
- if ( rEvent.IsMouseEvent() )
- nSelId = GetItemId( rEvent.GetMousePosPixel() );
- else
- nSelId = mnSelItemId;
-
- // don't activate dragging if no item was clicked on
- if ( !nSelId )
- return;
-
- // Check out if the page was selected. If not set as current page and
- // call select.
- if ( nSelId != mnSelItemId )
- {
- SelectItem( nSelId );
- Update();
- Select();
- }
-
- vcl::Region aRegion;
-
- // assign region
- rRegion = aRegion;
-}
-
Size ValueSet::CalcWindowSizePixel( const Size& rItemSize, sal_uInt16 nDesireCols,
sal_uInt16 nDesireLines ) const
{