diff options
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj2.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index b730e72c8e2f..7d4b765b1b4b 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -148,7 +148,7 @@ ContentInfo::~ContentInfo() aAttribs.clear(); } -WrongList* ContentInfo::GetWrongList() const +const WrongList* ContentInfo::GetWrongList() const { return mpWrongs.get(); } diff --git a/editeng/source/editeng/editobj2.hxx b/editeng/source/editeng/editobj2.hxx index 801abe805556..c67fc8e6a23c 100644 --- a/editeng/source/editeng/editobj2.hxx +++ b/editeng/source/editeng/editobj2.hxx @@ -149,7 +149,7 @@ public: SfxItemSet& GetParaAttribs() { return aParaAttribs; } SfxStyleFamily& GetFamily() { return eFamily; } - WrongList* GetWrongList() const; + const WrongList* GetWrongList() const; void SetWrongList( WrongList* p ); bool operator==( const ContentInfo& rCompare ) const; bool operator!=( const ContentInfo& rCompare ) const; |