[Libreoffice-commits] .: tools/Library_tl.mk tools/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Dec 21 06:33:09 PST 2011
tools/Library_tl.mk | 2 +-
tools/source/stream/stream.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f5eb8a2fc2e56c0950db2fafeded593d569d43e9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 21 14:32:08 2011 +0000
I hate you poxy msvc
diff --git a/tools/Library_tl.mk b/tools/Library_tl.mk
index 2724575..8dc9215 100644
--- a/tools/Library_tl.mk
+++ b/tools/Library_tl.mk
@@ -38,7 +38,7 @@ $(eval $(call gb_Library_set_include,tl,\
))
$(eval $(call gb_Library_add_defs,tl,\
- -DTOOLS_DLLIMPLEMENTATION \
+ -DTOOLS_DLLIMPLEMENTATION -DNOMINMAX\
))
$(eval $(call gb_Library_add_api,tl,\
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 2a5cd4a..3cfb900 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -1287,7 +1287,7 @@ SvStream& SvStream::operator>>(float& r)
SvStream& SvStream::operator>>(double& r)
{
- double n;
+ double n = 0;
READNUMBER_WITHOUT_SWAP(double, n)
if (good())
{
More information about the Libreoffice-commits
mailing list