summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 09:25:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-27 10:43:35 +0200
commit7ef34163216d575f43dfef6fa734ee06d2fe13af (patch)
tree94914ca19e7268bc5f17791bfb36f4ccf9a1d229 /oox
parent7c52d86f7b05fe7e0178f6d98a12a531b88a32ff (diff)
loplugin:unusedmethods
Change-Id: I5d75baa2af046f377b49e967783fb06cd9e885ef Reviewed-on: https://gerrit.libreoffice.org/42841 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.cxx12
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.hxx1
2 files changed, 0 insertions, 13 deletions
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
index 147790f9f5db..dd69d19c1f5f 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
@@ -122,18 +122,6 @@ bool ConditionAtom::compareResult(sal_Int32 nOperator, sal_Int32 nFirst, sal_Int
}
}
-bool ConditionAtom::compareResult(sal_Int32 nOperator, const OUString& sFirst, const OUString& sSecond)
-{
- switch (nOperator)
- {
- case XML_equ: return sFirst == sSecond;
- case XML_neq: return sFirst != sSecond;
- default:
- SAL_WARN("oox.drawingml", "unsupported operator: " << nOperator);
- return false;
- }
-}
-
const dgm::Point* ConditionAtom::getPresNode() const
{
const DiagramData::PointsNameMap& rPoints = mrLayoutNode.getDiagram().getData()->getPointsPresNameMap();
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
index 92ef240e6785..f4928565c048 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
@@ -184,7 +184,6 @@ public:
virtual const std::vector<LayoutAtomPtr>& getChildren() const override;
private:
static bool compareResult(sal_Int32 nOperator, sal_Int32 nFirst, sal_Int32 nSecond);
- static bool compareResult(sal_Int32 nOperator, const OUString& sFirst, const OUString& sSecond);
const dgm::Point* getPresNode() const;
sal_Int32 getNodeCount() const;