summaryrefslogtreecommitdiffstats
path: root/drawinglayer/source/tools/emfphelperdata.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 15:17:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 08:21:59 +0100
commit7795907fa9434441a86e878799b04149700fe622 (patch)
tree50ce9190f1855252c14b55f8152c885f063a98c0 /drawinglayer/source/tools/emfphelperdata.hxx
parentimprove debug printing of ErrCode (diff)
downloadcore-7795907fa9434441a86e878799b04149700fe622.tar.gz
core-7795907fa9434441a86e878799b04149700fe622.zip
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.hxx')
-rw-r--r--drawinglayer/source/tools/emfphelperdata.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/tools/emfphelperdata.hxx b/drawinglayer/source/tools/emfphelperdata.hxx
index 082ad1ae4c69..bfb79c8e7853 100644
--- a/drawinglayer/source/tools/emfphelperdata.hxx
+++ b/drawinglayer/source/tools/emfphelperdata.hxx
@@ -241,7 +241,7 @@ namespace emfplushelper
void EMFPPlusFillPolygon(const ::basegfx::B2DPolyPolygon& polygon, bool isColor, sal_uInt32 brushIndexOrColor);
// helper functions
- ::basegfx::BColor EMFPGetBrushColorOrARGBColor(sal_uInt16 flags, sal_uInt32 brushIndexOrColor);
+ ::basegfx::BColor EMFPGetBrushColorOrARGBColor(sal_uInt16 flags, sal_uInt32 brushIndexOrColor) const;
public:
EmfPlusHelperData(
@@ -255,8 +255,8 @@ namespace emfplushelper
const drawinglayer::geometry::ViewInformation2D& rViewInformation);
// mappers
- ::basegfx::B2DPoint Map(double ix, double iy);
- ::basegfx::B2DSize MapSize(double iwidth, double iheight);
+ ::basegfx::B2DPoint Map(double ix, double iy) const;
+ ::basegfx::B2DSize MapSize(double iwidth, double iheight) const;
// readers
static void ReadRectangle(SvStream& s, float& x, float& y, float &width, float& height, bool bCompressed = false);