diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-28 15:20:54 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-08-28 16:13:53 -0400 |
commit | ea59b6f5b922839e82f21727ab4d6c5d78176c0b (patch) | |
tree | 295693673faa8c422d4b6e35abc84736e888c1b5 /editeng | |
parent | 97001b1e48ba663dce111d413bdcea0727061572 (diff) |
const correct-ness.
Change-Id: If5c203844d245f370ac6fdb52c779561fb5f165f
Diffstat (limited to 'editeng')
-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; |