diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-11 13:15:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-11 14:46:46 +0100 |
commit | 8f5629fd5aafc85e509a4160a11a285b0a66e7c0 (patch) | |
tree | 143883c85467b5ce9f5c665338e0f8a25067a0cd /filter/source | |
parent | 2106d8e648449d34b195068eef5f672a14ea64a8 (diff) |
remove EraseLeadingChars and EraseTrailingChars
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
Diffstat (limited to 'filter/source')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index b5c27bd5b4b1..21eb7689578b 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -3961,14 +3961,14 @@ rtl::OUString SvxMSDffManager::MSDFFReadZString(SvStream& rIn, if (!nLen) return rtl::OUString(); - String sBuf; + rtl::OUString sBuf; if( bUniCode ) sBuf = read_uInt16s_ToOUString(rIn, nLen/2); else sBuf = read_uInt8s_ToOUString(rIn, nLen, RTL_TEXTENCODING_MS_1252); - return sBuf.EraseTrailingChars( 0 ); + return comphelper::string::stripEnd(sBuf, 0); } static Size lcl_GetPrefSize(const Graphic& rGraf, MapMode aWanted) |