summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
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 /sw/source/uibase/inc
parent8e173a965d5684372e3fe0ee3d3599032bcb86c2 (diff)
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 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/cnttab.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/inc/cnttab.hxx b/sw/source/uibase/inc/cnttab.hxx
index 9e5e132e512c..e95cc5c62b96 100644
--- a/sw/source/uibase/inc/cnttab.hxx
+++ b/sw/source/uibase/inc/cnttab.hxx
@@ -41,7 +41,7 @@ struct CurTOXType
TOXTypes eType;
sal_uInt16 nIndex; //for TOX_USER only
- bool operator==(const CurTOXType& rCmp)
+ bool operator==(const CurTOXType& rCmp) const
{
return eType == rCmp.eType && nIndex == rCmp.nIndex;
}