diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-06 12:44:59 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-12 15:32:11 +0000 |
commit | b2878af3223c438abeecc77d9976e56db31a5b49 (patch) | |
tree | 74ccf2cfdbec9093671eb98cb58dfe57f27461f1 /svl | |
parent | 15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4 (diff) |
more SvStream:operator>> conversion
Convert the template based read_lenPrefixed methods to regular
methods.
Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019
Reviewed-on: https://gerrit.libreoffice.org/7895
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/cntwall.cxx | 2 | ||||
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx index e35cdc60a254..49bb28e02ce8 100644 --- a/svl/source/items/cntwall.cxx +++ b/svl/source/items/cntwall.cxx @@ -70,7 +70,7 @@ CntWallpaperItem::CntWallpaperItem( sal_uInt16 which, SvStream& rStream, sal_uIn _aURL = readUnicodeString(rStream, false); // "Read" SfxWallpaperItem's string member _aFilter. - read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStream); + read_uInt16_lenPrefixed_uInt8s_ToOString(rStream); } } diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 21e88751e2b7..3b873527a3ab 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1919,7 +1919,7 @@ void SvNumberformat::ConvertLanguage( SvNumberFormatter& rConverter, OUString SvNumberformat::LoadString( SvStream& rStream ) { rtl_TextEncoding eStream = rStream.GetStreamCharSet(); - OString aStr = read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStream); + OString aStr = read_uInt16_lenPrefixed_uInt8s_ToOString(rStream); sal_Char cStream = NfCurrencyEntry::GetEuroSymbol( eStream ); if (aStr.indexOf(cStream) < 0) { |