summaryrefslogtreecommitdiff
path: root/vcl/win/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-21 15:26:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-21 15:26:59 +0000
commitc010c77dc3d240413d584d5837de4be1b164517e (patch)
tree93cc97eda743e7a497dbc49ba86eb8db5bda7b2c /vcl/win/source
parent2a76860a496a8a624e9e44d20c24252d59f88463 (diff)
explicitly write an 8 bit empty string
Diffstat (limited to 'vcl/win/source')
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 32fd0f3be061..8d86069d72af 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -210,7 +210,7 @@ ImplFontAttrCache::~ImplFontAttrCache()
++aIter;
}
// EOF Marker
- write_lenPrefixed_uInt8s_FromOString(aCacheFile, rtl::OString(), RTL_TEXTENCODING_UTF8);
+ write_lenPrefixed_uInt8s_FromOString<sal_uInt16>(aCacheFile, rtl::OString());
}
}
}