summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:05:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-18 09:17:43 +0200
commit4c05834a363535804d2cf5892704e19a5bb4f966 (patch)
tree43226f521a491e833bdd3f18b1655e945018ba64 /filter
parent60861faa8653afebb504cfbcaeed633d2373a27d (diff)
loplugin:unusedmethods
Change-Id: I1c50d176e793397a1f9625f797a3750cf191a61c Reviewed-on: https://gerrit.libreoffice.org/37679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/idxf/dxfvec.cxx12
-rw-r--r--filter/source/graphicfilter/idxf/dxfvec.hxx3
2 files changed, 0 insertions, 15 deletions
diff --git a/filter/source/graphicfilter/idxf/dxfvec.cxx b/filter/source/graphicfilter/idxf/dxfvec.cxx
index bda80dfe30e8..5f1457c2232f 100644
--- a/filter/source/graphicfilter/idxf/dxfvec.cxx
+++ b/filter/source/graphicfilter/idxf/dxfvec.cxx
@@ -221,18 +221,6 @@ LineInfo DXFTransform::Transform(const DXFLineInfo& aDXFLineInfo) const
return aLineInfo;
}
-sal_uInt32 DXFTransform::TransLineWidth(double fW) const
-{
- double fex,fey;
-
- fex=sqrt(aMX.fx*aMX.fx + aMX.fy*aMX.fy);
- fey=sqrt(aMY.fx*aMY.fx + aMY.fy*aMY.fy);
- // ###
- // printf("fex=%f fey=%f\n", fex, fey);
- return (sal_uInt32)(fabs(fW)*(fex+fey)/2.0+0.5);
-}
-
-
double DXFTransform::CalcRotAngle() const
{
return atan2(aMX.fy,aMX.fx)/3.14159265359*180.0;
diff --git a/filter/source/graphicfilter/idxf/dxfvec.hxx b/filter/source/graphicfilter/idxf/dxfvec.hxx
index 4f22e6ef97fe..03e88e166e6d 100644
--- a/filter/source/graphicfilter/idxf/dxfvec.hxx
+++ b/filter/source/graphicfilter/idxf/dxfvec.hxx
@@ -145,9 +145,6 @@ public:
// arbitrary position would be created, sal_False is returned.
// (The center point will not be transformed, use Transform(..))
- sal_uInt32 TransLineWidth(double fW) const;
- // Transforms the thickness of a line (as good as possible)
-
double CalcRotAngle() const;
// Calculates the rotation angle around z-axis (in degrees)