diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 15:17:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-03 08:21:59 +0100 |
commit | 7795907fa9434441a86e878799b04149700fe622 (patch) | |
tree | 50ce9190f1855252c14b55f8152c885f063a98c0 /drawinglayer/source/tools/emfphelperdata.cxx | |
parent | 0d4891b6d1346191b56f0f8f4991cb6372e10c1d (diff) |
loplugin:constmethod in drawinglayer
Change-Id: I6a33765f6589fc2941162eb2dcaa4e0a2d9e46e1
Reviewed-on: https://gerrit.libreoffice.org/44214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/tools/emfphelperdata.cxx')
-rw-r--r-- | drawinglayer/source/tools/emfphelperdata.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.cxx b/drawinglayer/source/tools/emfphelperdata.cxx index ad67d6994d06..f3e2cf9832ff 100644 --- a/drawinglayer/source/tools/emfphelperdata.cxx +++ b/drawinglayer/source/tools/emfphelperdata.cxx @@ -283,19 +283,19 @@ namespace emfplushelper maMapTransform *= basegfx::utils::createScaleB2DHomMatrix(maBaseTransform.get(0, 0), maBaseTransform.get(1, 1)); } - ::basegfx::B2DPoint EmfPlusHelperData::Map(double ix, double iy) + ::basegfx::B2DPoint EmfPlusHelperData::Map(double ix, double iy) const { // map in one step using complete MapTransform (see mappingChanged) return maMapTransform * ::basegfx::B2DPoint(ix, iy); } - ::basegfx::B2DSize EmfPlusHelperData::MapSize(double iwidth, double iheight) + ::basegfx::B2DSize EmfPlusHelperData::MapSize(double iwidth, double iheight) const { // map in one step using complete MapTransform (see mappingChanged) return maMapTransform * ::basegfx::B2DSize(iwidth, iheight); } - ::basegfx::BColor EmfPlusHelperData::EMFPGetBrushColorOrARGBColor(sal_uInt16 flags, sal_uInt32 brushIndexOrColor){ + ::basegfx::BColor EmfPlusHelperData::EMFPGetBrushColorOrARGBColor(sal_uInt16 flags, sal_uInt32 brushIndexOrColor) const { basegfx::BColor color; if (flags & 0x8000) // we use a color { |