summaryrefslogtreecommitdiff
path: root/basegfx/test/boxclipper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-25 16:11:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-26 12:44:44 +0200
commitdb04585533cc0f5971f6238c18ae7cadcf31d930 (patch)
tree0bf7c00a3baa1dadf3c836d13a4cc6d3b315e4e7 /basegfx/test/boxclipper.cxx
parent018687837648dfe1832ddabbd4cda183708d7fdc (diff)
loplugin:constmethod in basegfx,sot
Change-Id: I05d2cdefb7faf489ec29ba28dc5e3c28d08b9780 Reviewed-on: https://gerrit.libreoffice.org/43863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/test/boxclipper.cxx')
-rw-r--r--basegfx/test/boxclipper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/test/boxclipper.cxx b/basegfx/test/boxclipper.cxx
index d497077c125a..90dbad7d5066 100644
--- a/basegfx/test/boxclipper.cxx
+++ b/basegfx/test/boxclipper.cxx
@@ -167,7 +167,7 @@ public:
#endif
}
- B2DPolyPolygon normalizePoly( const B2DPolyPolygon& rPoly )
+ B2DPolyPolygon normalizePoly( const B2DPolyPolygon& rPoly ) const
{
B2DPolyPolygon aRes;
for( sal_uInt32 i=0; i<rPoly.count(); ++i )
@@ -214,7 +214,7 @@ public:
return aRes;
}
- void verifyPoly(const char* sName, const char* sSvg, const B2DPolyRange& toTest)
+ void verifyPoly(const char* sName, const char* sSvg, const B2DPolyRange& toTest) const
{
B2DPolyPolygon aTmp1;
CPPUNIT_ASSERT_MESSAGE(sName,
@@ -293,7 +293,7 @@ public:
}
void dumpSvg(const char* pName,
- const ::basegfx::B2DPolyPolygon& rPoly)
+ const ::basegfx::B2DPolyPolygon& rPoly) const
{
(void)pName; (void)rPoly;
#if OSL_DEBUG_LEVEL > 2
@@ -325,7 +325,7 @@ public:
CPPUNIT_ASSERT_MESSAGE("getPolyPolygon", true );
}
- void validatePoly( const char* pName, const B2DPolyRange& rRange )
+ void validatePoly( const char* pName, const B2DPolyRange& rRange ) const
{
B2DPolyPolygon genericClip;
const sal_uInt32 nCount=rRange.count();