summaryrefslogtreecommitdiffstats
path: root/emfio
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 10:47:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-12 11:05:36 +0100
commit1be9938157ab91ab16b938eaf2062651f09a0d69 (patch)
treeb529535cacf313cd8e20f9a5333c4e10de278678 /emfio
parenttdf#130977 replace `rtl::math::isFinite` with `std::isfinite`. (diff)
downloadcore-1be9938157ab91ab16b938eaf2062651f09a0d69.tar.gz
core-1be9938157ab91ab16b938eaf2062651f09a0d69.zip
comparison operators should be const
Change-Id: Ifa76e004128223460945d58d1c59c4e23db0f108 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90370 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'emfio')
-rw-r--r--emfio/inc/mtftools.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx
index 490bed017147..e61e19f5a58c 100644
--- a/emfio/inc/mtftools.hxx
+++ b/emfio/inc/mtftools.hxx
@@ -351,7 +351,7 @@ namespace emfio
, aBmp(rBmp)
{}
- bool operator==(const WinMtfFillStyle& rStyle)
+ bool operator==(const WinMtfFillStyle& rStyle) const
{
return aFillColor == rStyle.aFillColor
&& bTransparent == rStyle.bTransparent
@@ -381,7 +381,7 @@ namespace emfio
, bTransparent(bTrans)
{}
- bool operator==(const WinMtfLineStyle& rStyle)
+ bool operator==(const WinMtfLineStyle& rStyle) const
{
return aLineColor == rStyle.aLineColor
&& bTransparent == rStyle.bTransparent