diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 13:01:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 20:58:11 +0200 |
commit | 581efdec36787dc5e378e54d13e7328fddcf3a50 (patch) | |
tree | 29f04e719f8402028a4e26088a8ea825ebe9fdca /drawinglayer | |
parent | e512b53ef8ae7945131876d32121fdbbdeb1de35 (diff) |
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.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.hxx | 2 |
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; |