diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-06-27 22:48:17 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-06-28 11:17:55 +0200 |
commit | 6f9f28f8e122fac74ffbc93814f30ca43cca92a0 (patch) | |
tree | 184d83c17ea40357cf4a09536fa434d9f9a20dc9 /sw/source/uibase/wrtsh | |
parent | bd479676f275dd96df497a5098951ab45165335d (diff) |
Return value (sal_uInt16/size_t) is never used
Change-Id: I6342a407878e24e671615b0c12a9badcfc774f37
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtundo.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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 |