summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/swuicnttab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/swuicnttab.hxx')
-rw-r--r--sw/source/uibase/inc/swuicnttab.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx
index 29aabdf5d4f0..eda9017bd5ab 100644
--- a/sw/source/uibase/inc/swuicnttab.hxx
+++ b/sw/source/uibase/inc/swuicnttab.hxx
@@ -108,8 +108,8 @@ public:
SwForm* GetForm(CurTOXType eType);
- CurTOXType GetCurrentTOXType() const { return eCurrentTOXType;}
- void SetCurrentTOXType(CurTOXType eSet)
+ const CurTOXType& GetCurrentTOXType() const { return eCurrentTOXType;}
+ void SetCurrentTOXType(const CurTOXType& eSet)
{
eCurrentTOXType = eSet;
}