diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-01-21 21:40:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-01-21 21:48:40 +0100 |
commit | f55deeb525dd22194d4438f8b791bc344a77521e (patch) | |
tree | d5c98b22b04c63a3eab90eb506d7c96048c177c9 /sw/source/ui | |
parent | e3f11c10d8cc759d01afa4b8fd8bd98c81a03119 (diff) |
fix previous string conversion:
- unconverted assertion in dinfdlg.cxx
- wrong replaceAt in SidebarWin.cxx
- obsolete cast in SpellDialog.cxx
Change-Id: I18450c0c6fdd275b7f81a7fce58cdf98bb806e27
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/docvw/SidebarWin.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/SidebarWin.cxx b/sw/source/ui/docvw/SidebarWin.cxx index 4ee633b9e0e4..0d128eed4c1c 100644 --- a/sw/source/ui/docvw/SidebarWin.cxx +++ b/sw/source/ui/docvw/SidebarWin.cxx @@ -384,8 +384,7 @@ void SwSidebarWin::CheckMetaText() } else if (sMeta.getLength() > 22) { - sMeta.replaceAt(20, sMeta.getLength()-20, ""); - sMeta = sMeta + OUString("..."); + sMeta = sMeta.copy(0, 20) + OUString("..."); } if ( mpMetadataAuthor->GetText() != sMeta ) { |