summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-02 16:15:51 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-08 06:08:14 +0000
commitb14224fe97b8a44232c9c1401d3a49771f46582e (patch)
tree8f9cf31cf4b51a0edbb43022499a6acd17d0945d /filter
parentBASIC : Use vector in SbiExprList to avoid any dependencies (diff)
downloadcore-b14224fe97b8a44232c9c1401d3a49771f46582e.tar.gz
core-b14224fe97b8a44232c9c1401d3a49771f46582e.zip
loplugin:unusedmethods
using an idea from dtardon: <dtardon> noelgrandin, hi. could you try to run the unusedmethods clang plugin with "make build-nocheck"? that would catch functions that are only used in tests. e.g., i just removed the whole o3tl::range class, which has not been used in many years, but htere was a test for it... <noelgrandin> dtardon, interesting idea! Sure, I can do that. Change-Id: I5653953a426a2186a1e43017212d87ffce520387 Reviewed-on: https://gerrit.libreoffice.org/22041 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/idxf/dxfvec.hxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfvec.hxx b/filter/source/graphicfilter/idxf/dxfvec.hxx
index 21e63bc37262..a5ce4e451192 100644
--- a/filter/source/graphicfilter/idxf/dxfvec.hxx
+++ b/filter/source/graphicfilter/idxf/dxfvec.hxx
@@ -73,7 +73,6 @@ public:
// summation/subtraktion:
DXFVector & operator += (const DXFVector & rV);
DXFVector operator + (const DXFVector & rV) const;
- DXFVector & operator -= (const DXFVector & rV);
DXFVector operator - (const DXFVector & rV) const;
// vector product
@@ -196,13 +195,6 @@ inline DXFVector DXFVector::operator + (const DXFVector & rV) const
}
-inline DXFVector & DXFVector::operator -= (const DXFVector & rV)
-{
- fx-=rV.fx; fy-=rV.fy; fz-=rV.fz;
- return *this;
-}
-
-
inline DXFVector DXFVector::operator - (const DXFVector & rV) const
{
return DXFVector(fx-rV.fx, fy-rV.fy, fz-rV.fz);