[Libreoffice-commits] .: 2 commits - basegfx/source tools/qa

Caolán McNamara caolan at kemper.freedesktop.org
Wed Mar 16 05:45:42 PDT 2011


 basegfx/source/color/makefile.mk |    2 ++
 basegfx/source/pixel/makefile.mk |    2 ++
 tools/qa/test_reversemap.cxx     |    2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 3c7459f1efcbb87df1ba78b24596651e8cc5a8c5
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 16 12:45:35 2011 +0000

    WaE: int/char mix

diff --git a/tools/qa/test_reversemap.cxx b/tools/qa/test_reversemap.cxx
index b38771d..fb62eda 100644
--- a/tools/qa/test_reversemap.cxx
+++ b/tools/qa/test_reversemap.cxx
@@ -83,7 +83,7 @@ namespace
         //Taking the single byte legacy encodings, fill in all possible values
         std::vector<sal_Char> aAllChars(255);
         for (int i = 1; i <= 255; ++i)
-            aAllChars[i-1] = i;
+            aAllChars[i-1] = static_cast<sal_Char>(i);
 
         //Some slots are unused, so don't map to private, just set them to 'X'
         sal_uInt32 convertFlags = OUSTRING_TO_OSTRING_CVTFLAGS ^ RTL_TEXTTOUNICODE_FLAGS_UNDEFINED_MAPTOPRIVATE;
commit e14a8fd4d1b78f54c47607d59d3c044cfe181a3d
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Mar 16 12:23:15 2011 +0000

    WaE: enable exceptions for new containers

diff --git a/basegfx/source/color/makefile.mk b/basegfx/source/color/makefile.mk
index eec5078..3627f82 100644
--- a/basegfx/source/color/makefile.mk
+++ b/basegfx/source/color/makefile.mk
@@ -29,6 +29,8 @@ PRJ=..$/..
 PRJNAME=basegfx
 TARGET=color
 
+ENABLE_EXCEPTIONS=TRUE
+
 # --- Settings ----------------------------------
 
 .INCLUDE :  	settings.mk
diff --git a/basegfx/source/pixel/makefile.mk b/basegfx/source/pixel/makefile.mk
index ab3c9a5..2766b7c 100644
--- a/basegfx/source/pixel/makefile.mk
+++ b/basegfx/source/pixel/makefile.mk
@@ -29,6 +29,8 @@ PRJ=..$/..
 PRJNAME=basegfx
 TARGET=pixel
 
+ENABLE_EXCEPTIONS=TRUE
+
 # --- Settings ----------------------------------
 
 .INCLUDE :  	settings.mk


More information about the Libreoffice-commits mailing list