summaryrefslogtreecommitdiffstats
path: root/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-10-01 13:01:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-10-01 20:58:11 +0200
commit581efdec36787dc5e378e54d13e7328fddcf3a50 (patch)
tree29f04e719f8402028a4e26088a8ea825ebe9fdca /drawinglayer
parentloplugin:constparams (diff)
downloadcore-581efdec36787dc5e378e54d13e7328fddcf3a50.tar.gz
core-581efdec36787dc5e378e54d13e7328fddcf3a50.zip
loplugin:constmethod
Change-Id: I3ed657c5c5e6840e38e3c8505505b4b372125df0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122910 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 52013c1e8850..c850ff32e900 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -2368,7 +2368,7 @@ void VclMetafileProcessor2D::processStructureTagPrimitive2D(
VclPtr<VirtualDevice>
VclMetafileProcessor2D::CreateBufferDevice(const basegfx::B2DRange& rCandidateRange,
geometry::ViewInformation2D& rViewInfo,
- tools::Rectangle& rRectLogic, Size& rSizePixel)
+ tools::Rectangle& rRectLogic, Size& rSizePixel) const
{
constexpr double fMaxSquarePixels = 500000;
basegfx::B2DRange aViewRange(rCandidateRange);
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
index 67a79ca307cc..06fd61e18309 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx
@@ -147,7 +147,7 @@ private:
void processPrimitive2DOnPixelProcessor(const primitive2d::BasePrimitive2D& rCandidate);
VclPtr<VirtualDevice> CreateBufferDevice(const basegfx::B2DRange& rCandidateRange,
geometry::ViewInformation2D& rViewInfo,
- tools::Rectangle& rRectLogic, Size& rSizePixel);
+ tools::Rectangle& rRectLogic, Size& rSizePixel) const;
/// Convert the fWidth to the same space as its coordinates.
double getTransformedLineWidth(double fWidth) const;