summaryrefslogtreecommitdiffstats
path: root/vcl/win
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-06 12:44:59 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-12 15:32:11 +0000
commitb2878af3223c438abeecc77d9976e56db31a5b49 (patch)
tree74ccf2cfdbec9093671eb98cb58dfe57f27461f1 /vcl/win
parentconvert SvStream::operator>> methods to ReadXXX methods (diff)
downloadcore-b2878af3223c438abeecc77d9976e56db31a5b49.tar.gz
core-b2878af3223c438abeecc77d9976e56db31a5b49.zip
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 'vcl/win')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index a3758f4b0dd1..86333f63e153 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -134,10 +134,10 @@ ImplFontAttrCache::ImplFontAttrCache( const OUString& rFileNameURL, const OUStri
ImplDevFontAttributes aDFA;
for(;;)
{
- aFontFileURL = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(aCacheFile, RTL_TEXTENCODING_UTF8);
+ aFontFileURL = read_uInt16_lenPrefixed_uInt8s_ToOUString(aCacheFile, RTL_TEXTENCODING_UTF8);
if( aFontFileURL.isEmpty() )
break;
- aDFA.SetFamilyName(read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(aCacheFile, RTL_TEXTENCODING_UTF8));
+ aDFA.SetFamilyName(read_uInt16_lenPrefixed_uInt8s_ToOUString(aCacheFile, RTL_TEXTENCODING_UTF8));
short n;
aCacheFile >> n; aDFA.SetWeight(static_cast<FontWeight>(n));