summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/cnttab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/cnttab.hxx')
-rw-r--r--sw/source/uibase/inc/cnttab.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/cnttab.hxx b/sw/source/uibase/inc/cnttab.hxx
index 1fd1e18058e2..e5626bb74c37 100644
--- a/sw/source/uibase/inc/cnttab.hxx
+++ b/sw/source/uibase/inc/cnttab.hxx
@@ -53,10 +53,10 @@ struct CurTOXType
TOXTypes eType;
sal_uInt16 nIndex; //for TOX_USER only
- bool operator==(const CurTOXType aCmp)
- {
- return eType == aCmp.eType && nIndex == aCmp.nIndex;
- }
+ bool operator==(const CurTOXType& rCmp)
+ {
+ return eType == rCmp.eType && nIndex == rCmp.nIndex;
+ }
sal_uInt16 GetFlatIndex() const;
CurTOXType () : eType (TOX_INDEX), nIndex (0) {};