summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/toxmgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/toxmgr.hxx')
-rw-r--r--sw/source/uibase/inc/toxmgr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/toxmgr.hxx b/sw/source/uibase/inc/toxmgr.hxx
index 12cad3c88fe8..0fde183fd437 100644
--- a/sw/source/uibase/inc/toxmgr.hxx
+++ b/sw/source/uibase/inc/toxmgr.hxx
@@ -246,7 +246,7 @@ public:
void PrevTOXMark(bool bSame=false);
// get current TOXmarks
- sal_uInt16 GetTOXMarkCount();
+ sal_uInt16 GetTOXMarkCount() const;
SwTOXMark* GetTOXMark(sal_uInt16 nId);
SwTOXMark* GetCurTOXMark();
void SetCurTOXMark(sal_uInt16 nId);
@@ -260,7 +260,7 @@ public:
};
// inlines
-inline sal_uInt16 SwTOXMgr::GetTOXMarkCount()
+inline sal_uInt16 SwTOXMgr::GetTOXMarkCount() const
{ return aCurMarks.size(); }
inline SwTOXMark* SwTOXMgr::GetCurTOXMark()