[Libreoffice-commits] .: 2 commits - cppuhelper/source store/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Apr 24 03:57:18 PDT 2012


 cppuhelper/source/defaultbootstrap.cxx |    2 +-
 store/source/makefile.mk               |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f5a414d242f3b3bce19de4905d7b5dce9792b66c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 24 10:41:58 2012 +0100

    WaE: simple minded MSVC2008 thinks s could be used uninitialized

diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx
index f156ce1..f948586 100644
--- a/cppuhelper/source/defaultbootstrap.cxx
+++ b/cppuhelper/source/defaultbootstrap.cxx
@@ -1370,7 +1370,7 @@ rtl::OUString ServiceManager::readLegacyRdbString(
 {
     RegistryKey subkey;
     RegValueType t;
-    sal_uInt32 s;
+    sal_uInt32 s(0);
     if (key.openKey(path, subkey) != REG_NO_ERROR
         || subkey.getValueInfo(rtl::OUString(), &t, &s) != REG_NO_ERROR
         || t != RG_VALUETYPE_STRING
commit a0d6c5dd9bf359d8428f26701acb6b2036b4417c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Apr 24 10:21:48 2012 +0100

    WaE: MSVC2008 C4530 exception handler without unwind semantics

diff --git a/store/source/makefile.mk b/store/source/makefile.mk
index c7ae53d..4263a57 100644
--- a/store/source/makefile.mk
+++ b/store/source/makefile.mk
@@ -29,6 +29,7 @@ PRJ=..
 
 PRJNAME=store
 TARGET=store
+ENABLE_EXCEPTIONS=TRUE
 
 # --- Settings ---
 


More information about the Libreoffice-commits mailing list