diff options
-rw-r--r-- | sw/source/uibase/inc/wrtsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtundo.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx index 2d835ec6cbfd..2ba573a4c0ca 100644 --- a/sw/source/uibase/inc/wrtsh.hxx +++ b/sw/source/uibase/inc/wrtsh.hxx @@ -361,7 +361,7 @@ typedef bool (SwWrtShell:: *FNSimpleMove)(); void Do( DoType eDoType, sal_uInt16 nCnt = 1 ); OUString GetDoString( DoType eDoType ) const; OUString GetRepeatString() const; - sal_uInt16 GetDoStrings( DoType eDoType, SfxStringListItem& rStrLstItem ) const; + void GetDoStrings( DoType eDoType, SfxStringListItem& rStrLstItem ) const; // search and replace sal_uLong SearchPattern(const com::sun::star::util::SearchOptions& rSearchOpt, diff --git a/sw/source/uibase/wrtsh/wrtundo.cxx b/sw/source/uibase/wrtsh/wrtundo.cxx index e8851d119f5a..9b70e25acb59 100644 --- a/sw/source/uibase/wrtsh/wrtundo.cxx +++ b/sw/source/uibase/wrtsh/wrtundo.cxx @@ -114,7 +114,7 @@ OUString SwWrtShell::GetDoString( DoType eDoType ) const return SvtResId( nResStr ).toString() + aUndoStr; } -sal_uInt16 SwWrtShell::GetDoStrings( DoType eDoType, SfxStringListItem& rStrs ) const +void SwWrtShell::GetDoStrings( DoType eDoType, SfxStringListItem& rStrs ) const { SwUndoComments_t comments; switch( eDoType ) @@ -135,7 +135,6 @@ sal_uInt16 SwWrtShell::GetDoStrings( DoType eDoType, SfxStringListItem& rStrs ) buf += comments[i] + "\n"; } rStrs.SetString(buf); - return static_cast<sal_uInt16>(comments.size()); } OUString SwWrtShell::GetRepeatString() const |