summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 12:23:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-16 07:26:27 +0100
commita2751c0795cdac9d78f8919aab319a418b6e0bbc (patch)
tree1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /drawinglayer
parenta04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff)
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755 Reviewed-on: https://gerrit.libreoffice.org/63434 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/tools/emfphelperdata.hxx2
-rw-r--r--drawinglayer/source/tools/emfpregion.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx
index 281a5f7ebbba..d63301f50f5f 100644
--- a/drawinglayer/source/tools/emfphelperdata.hxx
+++ b/drawinglayer/source/tools/emfphelperdata.hxx
@@ -209,7 +209,7 @@ namespace emfplushelper
// readers
static void ReadRectangle(SvStream& s, float& x, float& y, float &width, float& height, bool bCompressed = false);
static bool readXForm(SvStream& rIn, basegfx::B2DHomMatrix& rTarget);
- ::basegfx::B2DPolyPolygon const combineClip(::basegfx::B2DPolyPolygon const & leftPolygon, int combineMode, ::basegfx::B2DPolyPolygon const & rightPolygon);
+ static ::basegfx::B2DPolyPolygon const combineClip(::basegfx::B2DPolyPolygon const & leftPolygon, int combineMode, ::basegfx::B2DPolyPolygon const & rightPolygon);
static float getUnitToPixelMultiplier(const UnitType aUnitType);
};
diff --git a/drawinglayer/source/tools/emfpregion.cxx b/drawinglayer/source/tools/emfpregion.cxx
index e5a9ed9e81e3..ba78503c2826 100644
--- a/drawinglayer/source/tools/emfpregion.cxx
+++ b/drawinglayer/source/tools/emfpregion.cxx
@@ -60,7 +60,7 @@ namespace emfplushelper
{
::basegfx::B2DPolyPolygon leftPolygon = ReadRegionNode(s, rR);
::basegfx::B2DPolyPolygon rightPolygon = ReadRegionNode(s, rR);
- polygon = rR.combineClip(leftPolygon, dataType, rightPolygon);
+ polygon = EmfPlusHelperData::combineClip(leftPolygon, dataType, rightPolygon);
break;
}
case RegionNodeDataTypeRect: