diff options
Diffstat (limited to 'sw/source/filter/inc')
-rw-r--r-- | sw/source/filter/inc/fltshell.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/inc/fltshell.hxx b/sw/source/filter/inc/fltshell.hxx index e3f24316dde5..83478a939cb5 100644 --- a/sw/source/filter/inc/fltshell.hxx +++ b/sw/source/filter/inc/fltshell.hxx @@ -110,7 +110,7 @@ public: void SetEndCP(sal_Int32 nCP) {mnEndCP = nCP;} sal_Int32 GetStartCP() const {return mnStartCP;} sal_Int32 GetEndCP() const {return mnEndCP;} - bool IsParaEnd(){ return bIsParaEnd;} + bool IsParaEnd() const { return bIsParaEnd;} void SetIsParaEnd(bool bArg){ bIsParaEnd = bArg;} }; @@ -283,7 +283,7 @@ public: // "purely virtual methods" of SfxPoolItem virtual bool operator==(const SfxPoolItem&) const override; virtual SfxPoolItem* Clone(SfxItemPool* = nullptr) const override; - const SwTOXBase& GetBase() { return *m_xTOXBase; } + const SwTOXBase& GetBase() const { return *m_xTOXBase; } void SetHadBreakItem( bool bVal ) { bHadBreakItem = bVal; } void SetHadPageDescItem( bool bVal ) { bHadPageDescItem = bVal; } bool HadBreakItem() const { return bHadBreakItem; } |