diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-23 22:58:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-24 16:53:55 +0000 |
commit | 5f662f2540e02487396d0ef0d97325d9a1fa8960 (patch) | |
tree | 54e2d7ad0513e7fe70c2c1efa8276035d56e0e49 /filter | |
parent | 04d58ef75a5e6fd7066fcfd257d907f52e4de5a7 (diff) |
all direct OUString readers are current little endian streams
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/mstoolbar.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index 9c6a719e4e27..406b1532c4f0 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -4014,7 +4014,7 @@ rtl::OUString SvxMSDffManager::MSDFFReadZString(SvStream& rIn, String sBuf; if( bUniCode ) - sBuf = read_LEuInt16s_ToOUString(rIn, nLen/2); + sBuf = read_uInt16s_ToOUString(rIn, nLen/2); else sBuf = read_uInt8s_ToOUString(rIn, nLen, RTL_TEXTENCODING_MS_1252); diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx index fbac37f2152c..d8839a70c743 100644 --- a/filter/source/msfilter/mstoolbar.cxx +++ b/filter/source/msfilter/mstoolbar.cxx @@ -412,7 +412,7 @@ WString::Read( SvStream &rS ) nOffSet = rS.Tell(); sal_uInt8 nChars = 0; rS >> nChars; - sString = read_LEuInt16s_ToOUString(rS, nChars); + sString = read_uInt16s_ToOUString(rS, nChars); return true; } |