From c010c77dc3d240413d584d5837de4be1b164517e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Wed, 21 Dec 2011 15:26:59 +0000 Subject: [PATCH] explicitly write an 8 bit empty string --- vcl/Library_vcl.mk | 2 +- vcl/win/source/gdi/salgdi3.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index f18c18f2ab47..95a307f34b5e 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -53,7 +53,7 @@ $(eval $(call gb_Library_set_include,vcl,\ )) $(eval $(call gb_Library_add_defs,vcl,\ - -DVCL_DLLIMPLEMENTATION \ + -DVCL_DLLIMPLEMENTATION -DNOMINMAX \ -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \ -DDLLPOSTFIX=$(gb_Library_DLLPOSTFIX) \ )) 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(aCacheFile, rtl::OString()); } } }