summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-06 15:52:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-06 17:50:41 +0100
commitd32289d715f7182b9e82a4d3fde9cfcf87517da3 (patch)
treebc44f9a34cfecf4d996c25f73d0b3a752a350353 /chart2
parentbf71fe152b8e04be92def48c9aecec98d57f5f35 (diff)
loplugin:unusedmethods
Change-Id: I698981490eb1391930cdd06821a80a5f770e000e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90109 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/inc/ChartController.hxx4
-rw-r--r--chart2/source/controller/main/ChartController_Tools.cxx17
2 files changed, 0 insertions, 21 deletions
diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx
index adf4a3ad20be..e5ab612c578f 100644
--- a/chart2/source/controller/inc/ChartController.hxx
+++ b/chart2/source/controller/inc/ChartController.hxx
@@ -320,10 +320,6 @@ public:
static bool isObjectDeleteable( const css::uno::Any& rSelection );
- bool isSelectedObjectDraggable() const;
- bool isSelectedObjectResizable() const;
- bool isSelectedObjectRotatable() const;
-
void setDrawMode( ChartDrawMode eMode ) { m_eDrawMode = eMode; }
bool isShapeContext() const;
diff --git a/chart2/source/controller/main/ChartController_Tools.cxx b/chart2/source/controller/main/ChartController_Tools.cxx
index fc2b475181d5..49214b46e8c9 100644
--- a/chart2/source/controller/main/ChartController_Tools.cxx
+++ b/chart2/source/controller/main/ChartController_Tools.cxx
@@ -565,23 +565,6 @@ bool ChartController::isObjectDeleteable( const uno::Any& rSelection )
return false;
}
-bool ChartController::isSelectedObjectDraggable() const
-{
- return m_aSelection.isDragableObjectSelected();
-}
-
-bool ChartController::isSelectedObjectResizable() const
-{
- return m_aSelection.isResizeableObjectSelected();
-}
-
-bool ChartController::isSelectedObjectRotatable() const
-{
- const ChartController* pThis = this;
- const uno::Reference< frame::XModel >& xChartModel = const_cast<ChartController*>(pThis)->getModel();
- return m_aSelection.isRotateableObjectSelected(xChartModel);
-}
-
bool ChartController::isShapeContext() const
{
return m_aSelection.isAdditionalShapeSelected() ||