Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hello all,

For the past couple of weeks I've been trying to build LO with clang
on linux and have hit a couple of obstacles. I can't get the internal
nss to build and I didn't even try to enable mozilla because it fails
to build on ubuntu anyway. The -Qunused-arguments is really to silence
warnings from clang that -ggdb2 and other options are not recognized.
Ultimately, I can complete make with

./autogen.sh --with-jdk-home=/usr/lib/jvm/java-1.6.0-openjdk
--disable-mozilla --with-system-nss --with-max-jobs=1
--with-num-cpus=1 CC="clang -Qunused-arguments" CXX="clang++
-Qunused-arguments"

The max-jobs and num-cpus options are because customshapepresests*.cxx
take up too much memory for me to run in parallel :(

The first patch attached fixes an error related to implicitly
converting constants to a type that should be too small to hold the
constant. I've added static_casts to make the situation a lot more
explicit which also suppresses the error, I'm just not sure that this
is a real solution.

The second and third patches simply fix warnings that flood the screen
so often that it makes it difficult to diagnose other problems.

The fourth and final patch is the most troubling one because there is
no way it can be correct. Clang really doesn't like stlport trying to
use placement new to call a "helper" constructor and according to [1]
it might not do what was intended there anyway. I would rather not
have to do --without-stlport because my understanding is that it would
break abi compat. Is there a better way to fix this issue than making
an init() method somewhere that both constructors can call?

August Sodora
augsod@gmail.com
(201) 280-8138
From 79319123f4f7fa33f3192e686277f9eaad4ccec5 Mon Sep 17 00:00:00 2001
From: August Sodora <augsod@gmail.com>
Date: Sun, 25 Dec 2011 12:56:04 -0500
Subject: [PATCH 1/4] clang: Fix implicit type narrowing in initializer list

---
 .../customshapes/EnhancedCustomShapeGeometry.cxx   |  568 ++++++++++----------
 vcl/unx/generic/app/wmadaptor.cxx                  |    2 +-
 2 files changed, 285 insertions(+), 285 deletions(-)

diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx 
b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
index d8bb491..8506465 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
@@ -58,7 +58,7 @@ static const mso_CustomShape mso =
     (sal_Int32*)mso_sptDefault,
     (SvxMSDffTextRectangles*)mso_sptTextRect, sizeof( mso_sptTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptVert, sizeof( mso_sptVert ) / sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandles*)mso_sptHandles, sizeof( mso_sptHandles ) / sizeof( SvxMSDffHandles )
 };
@@ -161,9 +161,9 @@ static const SvxMSDffVertPair mso_sptStandardGluePoints[] =
 static const SvxMSDffHandle mso_sptArcHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        10800, 0x100, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff },
+        10800, 0x100, 10800, 10800, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        10800, 0x101, 10800, 10800, 10800, 10800, 0x80000000, 0x7fffffff }
+        10800, 0x101, 10800, 10800, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoArc =
 {
@@ -173,7 +173,7 @@ static const mso_CustomShape msoArc =
     (sal_Int32*)mso_sptArcDefault,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptArcHandle, sizeof( mso_sptArcHandle ) / sizeof( SvxMSDffHandle )       
 // handles
 };
@@ -190,7 +190,7 @@ static const mso_CustomShape msoTextSimple =
     NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -207,7 +207,7 @@ static const mso_CustomShape msoRectangle =
     NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -242,7 +242,7 @@ static const SvxMSDffTextRectangles mso_sptRoundRectangleTextRect[] =
 static const SvxMSDffHandle mso_sptRoundRectangleHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoRoundRectangle =
 {
@@ -277,7 +277,7 @@ static const mso_CustomShape msoRightTriangle =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptRightTriangleTextRect, sizeof( mso_sptRightTriangleTextRect ) 
/ sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptRightTriangleGluePoints, sizeof( mso_sptRightTriangleGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -306,7 +306,7 @@ static const mso_CustomShape msoEllipse =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -347,7 +347,7 @@ static const SvxMSDffVertPair mso_sptParallelogramGluePoints[] =
 static const SvxMSDffHandle mso_sptParallelogramHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoParallelogram =
 {
@@ -357,7 +357,7 @@ static const mso_CustomShape msoParallelogram =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptParallelogramTextRect, sizeof( mso_sptParallelogramTextRect ) 
/ sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptParallelogramGluePoints, sizeof( mso_sptParallelogramGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptParallelogramHandle, sizeof( mso_sptParallelogramHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -378,7 +378,7 @@ static const mso_CustomShape msoDiamond =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptDiamondTextRect, sizeof( mso_sptDiamondTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -412,7 +412,7 @@ static const SvxMSDffVertPair mso_sptTrapezoidGluePoints[] =
 static const SvxMSDffHandle mso_sptTrapezoidHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 1, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 1, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoTrapezoid =
 {
@@ -422,7 +422,7 @@ static const mso_CustomShape msoTrapezoid =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptTrapezoidTextRect, sizeof( mso_sptTrapezoidTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptTrapezoidGluePoints, sizeof( mso_sptTrapezoidGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptTrapezoidHandle, sizeof( mso_sptTrapezoidHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -459,7 +459,7 @@ static const SvxMSDffTextRectangles mso_sptOctagonTextRect[] =
 static const SvxMSDffHandle mso_sptOctagonHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoOctagon =
 {
@@ -505,7 +505,7 @@ static const SvxMSDffVertPair mso_sptIsocelesTriangleGluePoints[] =
 static const SvxMSDffHandle mso_sptIsocelesTriangleHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoIsocelesTriangle =
 {
@@ -515,7 +515,7 @@ static const mso_CustomShape msoIsocelesTriangle =
     (sal_Int32*)mso_sptDefault10800,
     (SvxMSDffTextRectangles*)mso_sptIsocelesTriangleTextRect, sizeof( 
mso_sptIsocelesTriangleTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptIsocelesTriangleGluePoints, sizeof( 
mso_sptIsocelesTriangleGluePoints ) / sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptIsocelesTriangleHandle, sizeof( mso_sptIsocelesTriangleHandle ) / 
sizeof( SvxMSDffHandle )      // handles
 };
@@ -544,7 +544,7 @@ static const SvxMSDffTextRectangles mso_sptHexagonTextRect[] =
 static const SvxMSDffHandle mso_sptHexagonHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoHexagon =
 {
@@ -554,7 +554,7 @@ static const mso_CustomShape msoHexagon =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptHexagonTextRect, sizeof( mso_sptHexagonTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptHexagonHandle, sizeof( mso_sptHexagonHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -581,7 +581,7 @@ static const mso_CustomShape msoPentagon =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptPentagonTextRect, sizeof( mso_sptPentagonTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptPentagonGluePoints, sizeof( mso_sptPentagonGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -606,7 +606,7 @@ static const SvxMSDffTextRectangles mso_sptPlusTextRect[] =
 static const SvxMSDffHandle mso_sptPlusHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoPlus =
 {
@@ -663,7 +663,7 @@ static const SvxMSDffVertPair mso_sptCanGluePoints[] =
 static const SvxMSDffHandle mso_sptCanHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        7 + 3, 0x100, 44, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        7 + 3, 0x100, 44, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoCan =
 {
@@ -673,7 +673,7 @@ static const mso_CustomShape msoCan =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptCanTextRect, sizeof( mso_sptCanTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     88, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptCanGluePoints, sizeof( mso_sptCanGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptCanHandle, sizeof( mso_sptCanHandle ) / sizeof( SvxMSDffHandle )       
 // handles
 };
@@ -715,7 +715,7 @@ static const mso_CustomShape msoArrow =
     (sal_Int32*)mso_sptDefault16200and5400,
     (SvxMSDffTextRectangles*)mso_sptArrowTextRect, sizeof( mso_sptArrowTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptArrowHandle, sizeof( mso_sptArrowHandle ) / sizeof( SvxMSDffHandle )   
     // handles
 };
@@ -750,7 +750,7 @@ static const mso_CustomShape msoLeftArrow =
     (sal_Int32*)mso_sptLeftArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftArrowTextRect, sizeof( mso_sptLeftArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftArrowHandle, sizeof( mso_sptLeftArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -781,7 +781,7 @@ static const mso_CustomShape msoDownArrow =
     (sal_Int32*)mso_sptDefault16200and5400,
     (SvxMSDffTextRectangles*)mso_sptDownArrowTextRect, sizeof( mso_sptDownArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptDownArrowHandle, sizeof( mso_sptDownArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -816,7 +816,7 @@ static const mso_CustomShape msoUpArrow =
     (sal_Int32*)mso_sptUpArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptUpArrowTextRect, sizeof( mso_sptUpArrowTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptUpArrowHandle, sizeof( mso_sptUpArrowHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -865,7 +865,7 @@ static const mso_CustomShape msoLeftRightArrow =
     (sal_Int32*)mso_sptLeftRightArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftRightArrowTextRect, sizeof( mso_sptLeftRightArrowTextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftRightArrowHandle, sizeof( mso_sptLeftRightArrowHandle ) / sizeof( 
SvxMSDffHandle )      // handles
 };
@@ -901,7 +901,7 @@ static const mso_CustomShape msoUpDownArrow =
     (sal_Int32*)mso_sptUpDownArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptUpDownArrowTextRect, sizeof( mso_sptUpDownArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptUpDownArrowHandle, sizeof( mso_sptUpDownArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -941,7 +941,7 @@ static const SvxMSDffHandle mso_sptQuadArrowHandle[] =
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
         0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0x102, 0x101, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoQuadArrow =
 {
@@ -951,7 +951,7 @@ static const mso_CustomShape msoQuadArrow =
     (sal_Int32*)mso_sptQuadArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptQuadArrowTextRect, sizeof( mso_sptQuadArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptQuadArrowHandle, sizeof( mso_sptQuadArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -990,7 +990,7 @@ static const SvxMSDffHandle mso_sptLeftRightUpArrowHandle[] =
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
         0x101, 0x102, 10800, 10800, 0x100, 10800, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 0x101, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0x102, 0x101, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoLeftRightUpArrow =
 {
@@ -1000,7 +1000,7 @@ static const mso_CustomShape msoLeftRightUpArrow =
     (sal_Int32*)mso_sptLeftRightUpArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftRightUpArrowTextRect, sizeof( 
mso_sptLeftRightUpArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftRightUpArrowHandle, sizeof( mso_sptLeftRightUpArrowHandle ) / 
sizeof( SvxMSDffHandle )      // handles
 };
@@ -1044,7 +1044,7 @@ static const mso_CustomShape msoBentArrow =
     (sal_Int32*)mso_sptBentArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptBentArrowTextRect, sizeof( mso_sptBentArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBentArrowHandle, sizeof( mso_sptBentArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -1075,7 +1075,7 @@ static const mso_CustomShape msoUturnArrow =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptUturnArrowTextRect, sizeof( mso_sptUturnArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -1117,7 +1117,7 @@ static const SvxMSDffHandle mso_sptLeftUpArrowHandle[] =
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
         0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 3 + 9, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0x102, 3 + 9, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoLeftUpArrow =
 {
@@ -1127,7 +1127,7 @@ static const mso_CustomShape msoLeftUpArrow =
     (sal_Int32*)mso_sptLeftUpArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftUpArrowTextRect, sizeof( mso_sptLeftUpArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftUpArrowHandle, sizeof( mso_sptLeftUpArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -1170,7 +1170,7 @@ static const SvxMSDffHandle mso_sptBentUpArrowHandle[] =
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
         0x101, 0x102, 10800, 10800, 3 + 5, 21600, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 3 + 10, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0x102, 3 + 10, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBentUpArrow =
 {
@@ -1180,7 +1180,7 @@ static const mso_CustomShape msoBentUpArrow =
     (sal_Int32*)mso_sptBentUpArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptBentUpArrowTextRect, sizeof( mso_sptBentUpArrowTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBentUpArrowHandle, sizeof( mso_sptBentUpArrowHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1288,7 +1288,7 @@ static const mso_CustomShape msoCurvedRightArrow =
     (sal_Int32*)mso_sptCurvedRightDefault,
     (SvxMSDffTextRectangles*)mso_sptCurvedRightTextRect, sizeof( mso_sptCurvedRightTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptCurvedRightGluePoints, sizeof( mso_sptCurvedRightGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptCurvedRightHandles, sizeof( mso_sptCurvedRightHandles ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1343,7 +1343,7 @@ static const mso_CustomShape msoCurvedDownArrow =
    (sal_Int32*)mso_sptCurvedRightDefault,
    (SvxMSDffTextRectangles*)mso_sptCurvedDownTextRect, sizeof( mso_sptCurvedDownTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
    21600, 21600,
-   0x80000000, 0x80000000,
+   static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
    (SvxMSDffVertPair*)mso_sptCurvedDownGluePoints, sizeof( mso_sptCurvedDownGluePoints ) / sizeof( 
SvxMSDffVertPair ),
    (SvxMSDffHandle*)mso_sptCurvedDownHandles, sizeof( mso_sptCurvedDownHandles ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1449,7 +1449,7 @@ static const mso_CustomShape msoCurvedUpArrow =
    (sal_Int32*)mso_sptCurvedUpDefault,
    (SvxMSDffTextRectangles*)mso_sptCurvedUpTextRect, sizeof( mso_sptCurvedUpTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
    21600, 21600,
-   0x80000000, 0x80000000,
+   static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
    (SvxMSDffVertPair*)mso_sptCurvedUpGluePoints, sizeof( mso_sptCurvedUpGluePoints ) / sizeof( 
SvxMSDffVertPair ),
    (SvxMSDffHandle*)mso_sptCurvedUpHandles, sizeof( mso_sptCurvedUpHandles ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1502,7 +1502,7 @@ static const mso_CustomShape msoCurvedLeftArrow =
     (sal_Int32*)mso_sptCurvedUpDefault,
     (SvxMSDffTextRectangles*)mso_sptCurvedLeftTextRect, sizeof( mso_sptCurvedLeftTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptCurvedLeftGluePoints, sizeof( mso_sptCurvedLeftGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptCurvedLeftHandles, sizeof( mso_sptCurvedLeftHandles ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1546,7 +1546,7 @@ static const mso_CustomShape msoStripedRightArrow =
     (sal_Int32*)mso_sptDefault16200and5400,
     (SvxMSDffTextRectangles*)mso_sptStripedRightArrowTextRect, sizeof( 
mso_sptStripedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptStripedRightArrowHandle, sizeof( mso_sptStripedRightArrowHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -1582,7 +1582,7 @@ static const mso_CustomShape msoNotchedRightArrow =
     (sal_Int32*)mso_sptDefault16200and5400,
     (SvxMSDffTextRectangles*)mso_sptNotchedRightArrowTextRect, sizeof( 
mso_sptNotchedRightArrowTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptNotchedRightArrowHandle, sizeof( mso_sptNotchedRightArrowHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -1611,7 +1611,7 @@ static const SvxMSDffTextRectangles mso_sptHomePlateTextRect[] =    // todo
 static const SvxMSDffHandle mso_sptHomePlateHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoHomePlate =
 {
@@ -1621,7 +1621,7 @@ static const mso_CustomShape msoHomePlate =
     (sal_Int32*)mso_sptHomePlateDefault,
     (SvxMSDffTextRectangles*)mso_sptHomePlateTextRect, sizeof( mso_sptHomePlateTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptHomePlateHandle, sizeof( mso_sptHomePlateHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1651,7 +1651,7 @@ static const SvxMSDffTextRectangles mso_sptChevronTextRect[] =  // todo
 static const SvxMSDffHandle mso_sptChevronHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 21600, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoChevron =
 {
@@ -1661,7 +1661,7 @@ static const mso_CustomShape msoChevron =
     (sal_Int32*)mso_sptChevronDefault,
     (SvxMSDffTextRectangles*)mso_sptChevronTextRect, sizeof( mso_sptChevronTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptChevronHandle, sizeof( mso_sptChevronHandle ) / sizeof( SvxMSDffHandle 
)
 };
@@ -1696,11 +1696,11 @@ static const SvxMSDffTextRectangles mso_sptRightArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptRightArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0, 0x102, 0x80000000, 0x7fffffff },
+        0x100, 0, 10800, 10800, 0, 0x102, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
         0x102, 0x103, 10800, 10800, 0x100, 21600, 0x101, 10800 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
+        1, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 0x103 }
 };
 static const mso_CustomShape msoRightArrowCallout =
 {
@@ -1710,7 +1710,7 @@ static const mso_CustomShape msoRightArrowCallout =
     (sal_Int32*)mso_sptRightArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptRightArrowCalloutTextRect, sizeof( 
mso_sptRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptRightArrowCalloutHandle, sizeof( mso_sptRightArrowCalloutHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -1745,11 +1745,11 @@ static const SvxMSDffTextRectangles mso_sptLeftArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptLeftArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 21600, 0x80000000, 0x7fffffff },
+        0x100, 0, 10800, 10800, 0x102, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
         0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
+        0, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 0x103 }
 };
 static const mso_CustomShape msoLeftArrowCallout =
 {
@@ -1759,7 +1759,7 @@ static const mso_CustomShape msoLeftArrowCallout =
     (sal_Int32*)mso_sptLeftArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftArrowCalloutTextRect, sizeof( 
mso_sptLeftArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftArrowCalloutHandle, sizeof( mso_sptLeftArrowCalloutHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -1794,11 +1794,11 @@ static const SvxMSDffTextRectangles mso_sptUpArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptUpArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 21600 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0x102, 21600 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
+        0x101, 0, 10800, 10800, 0, 0x103, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoUpArrowCallout =
 {
@@ -1808,7 +1808,7 @@ static const mso_CustomShape msoUpArrowCallout =
     (sal_Int32*)mso_sptUpArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptUpArrowCalloutTextRect, sizeof( mso_sptUpArrowCalloutTextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptUpArrowCalloutHandle, sizeof( mso_sptUpArrowCalloutHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -1843,11 +1843,11 @@ static const SvxMSDffTextRectangles mso_sptDownArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptDownArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x102 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 0x102 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
         0x103, 0x102, 10800, 10800, 0x101, 10800, 0x100, 21600 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x101, 1, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
+        0x101, 1, 10800, 10800, 0, 0x103, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoDownArrowCallout =
 {
@@ -1857,7 +1857,7 @@ static const mso_CustomShape msoDownArrowCallout =
     (sal_Int32*)mso_sptDownArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptDownArrowCalloutTextRect, sizeof( 
mso_sptDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptDownArrowCalloutHandle, sizeof( mso_sptDownArrowCalloutHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -1896,11 +1896,11 @@ static const SvxMSDffTextRectangles mso_sptLeftRightArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptLeftRightArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
-        0x100, 0, 10800, 10800, 0x102, 10800, 0x80000000, 0x7fffffff },
+        0x100, 0, 10800, 10800, 0x102, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
         0x102, 0x103, 10800, 10800, 0, 0x100, 0x101, 10800 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 0x103 }
+        0, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 0x103 }
 };
 static const mso_CustomShape msoLeftRightArrowCallout =
 {
@@ -1910,7 +1910,7 @@ static const mso_CustomShape msoLeftRightArrowCallout =
     (sal_Int32*)mso_sptLeftRightArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftRightArrowCalloutTextRect, sizeof( 
mso_sptLeftRightArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptLeftRightArrowCalloutHandle, sizeof( 
mso_sptLeftRightArrowCalloutHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -1949,11 +1949,11 @@ static const SvxMSDffTextRectangles mso_sptUpDownArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptUpDownArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 10800 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0x102, 10800 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        0x101, 0, 10800, 10800, 0, 0x103, 0x80000000, 0x7fffffff }
+        0x101, 0, 10800, 10800, 0, 0x103, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoUpDownArrowCallout =
 {
@@ -1963,7 +1963,7 @@ static const mso_CustomShape msoUpDownArrowCallout =
     (sal_Int32*)mso_sptUpDownArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptUpDownArrowCalloutTextRect, sizeof( 
mso_sptUpDownArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptUpDownArrowCalloutHandle, sizeof( mso_sptUpDownArrowCalloutHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -2005,9 +2005,9 @@ static const SvxMSDffTextRectangles mso_sptQuadArrowCalloutTextRect[] =
 static const SvxMSDffHandle mso_sptQuadArrowCalloutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0x102, 0x101 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0x102, 0x101 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL,
-        0x101, 0, 10800, 10800, 0x100, 10800, 0x80000000, 0x7fffffff },
+        0x101, 0, 10800, 10800, 0x100, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
         0x103, 0x102, 10800, 10800, 0x101, 10800, 0, 0x100 }
 };
@@ -2019,7 +2019,7 @@ static const mso_CustomShape msoQuadArrowCallout =
     (sal_Int32*)mso_sptQuadArrowCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptQuadArrowCalloutTextRect, sizeof( 
mso_sptQuadArrowCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptQuadArrowCalloutHandle, sizeof( mso_sptQuadArrowCalloutHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -2103,9 +2103,9 @@ static const SvxMSDffTextRectangles mso_sptCircularArrowTextRect[] =    // 
todo
 static const SvxMSDffHandle mso_sptCircularArrowHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        10800, 0x100, 10800, 10800, 10800, 10800, 0xff4c0000, 0x00b40000 },
+        10800, 0x100, 10800, 10800, 10800, 10800, static_cast<sal_Int32>(0xff4c0000), 0x00b40000 },
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        0x102, 0x101, 10800, 10800, 0, 10800, 0xff4c0000, 0x00b40000 }
+        0x102, 0x101, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0xff4c0000), 0x00b40000 }
 };
 static const mso_CustomShape msoCircularArrow =
 {
@@ -2115,7 +2115,7 @@ static const mso_CustomShape msoCircularArrow =
     (sal_Int32*)mso_sptCircularArrowDefault,
     (SvxMSDffTextRectangles*)mso_sptCircularArrowTextRect, sizeof( mso_sptCircularArrowTextRect ) 
/ sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCircularArrowHandle, sizeof( mso_sptCircularArrowHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -2155,7 +2155,7 @@ static const SvxMSDffTextRectangles mso_sptCubeTextRect[] =
 static const SvxMSDffHandle mso_sptCubeHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 21600 }
 };
 static const SvxMSDffVertPair mso_sptCubeGluePoints[] =
 {
@@ -2204,7 +2204,7 @@ static const SvxMSDffTextRectangles mso_sptBevelTextRect[] =
 static const SvxMSDffHandle mso_sptBevelHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBevel =
 {
@@ -2256,7 +2256,7 @@ static const SvxMSDffTextRectangles mso_sptFoldedCornerTextRect[] =
 static const SvxMSDffHandle mso_sptFoldedCornerHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 1, 10800, 10800, 10800, 21600, 0x80000000, 0x7fffffff }
+        0x100, 1, 10800, 10800, 10800, 21600, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoFoldedCorner =
 {
@@ -2266,7 +2266,7 @@ static const mso_CustomShape msoFoldedCorner =
     (sal_Int32*)mso_sptFoldedCornerDefault,
     (SvxMSDffTextRectangles*)mso_sptFoldedCornerTextRect, sizeof( mso_sptFoldedCornerTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptFoldedCornerHandle, sizeof( mso_sptFoldedCornerHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -2300,7 +2300,7 @@ static const SvxMSDffTextRectangles mso_sptActionButtonBlankTextRect[] =
 static const SvxMSDffHandle mso_sptButtonHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 5400, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoActionButtonBlank =
 {
@@ -3111,7 +3111,7 @@ static const sal_Int32 mso_sptSmileyFaceDefault[] =
 static const SvxMSDffHandle mso_sptSmileyHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 15510, 17520 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 15510, 17520 }
 };
 static const mso_CustomShape msoSmileyFace =
 {
@@ -3121,7 +3121,7 @@ static const mso_CustomShape msoSmileyFace =
     (sal_Int32*)mso_sptSmileyFaceDefault,
     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptSmileyHandle, sizeof( mso_sptSmileyHandle ) / sizeof( SvxMSDffHandle ) 
     // handles
 };
@@ -3143,7 +3143,7 @@ static const SvxMSDffCalculationData mso_sptDonutCalc[] =
 static const SvxMSDffHandle mso_sptDonutHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoDonut =
 {
@@ -3153,7 +3153,7 @@ static const mso_CustomShape msoDonut =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptDonutHandle, sizeof( mso_sptDonutHandle ) / sizeof( SvxMSDffHandle )   
     // handles
 };
@@ -3192,7 +3192,7 @@ static const SvxMSDffCalculationData mso_sptNoSmokingCalc[] =
 static const SvxMSDffHandle mso_sptNoSmokingHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0, 7200, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, 0, 7200, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoNoSmoking =
 {
@@ -3202,7 +3202,7 @@ static const mso_CustomShape msoNoSmoking =
     (sal_Int32*)mso_sptDefault2700,
     (SvxMSDffTextRectangles*)mso_sptEllipseTextRect, sizeof( mso_sptEllipseTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptNoSmokingHandle, sizeof( mso_sptNoSmokingHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -3235,7 +3235,7 @@ static const SvxMSDffCalculationData mso_sptBlockArcCalc[] =
 static const SvxMSDffHandle mso_sptBlockArcHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x101, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBlockArc =
 {
@@ -3245,7 +3245,7 @@ static const mso_CustomShape msoBlockArc =
     (sal_Int32*)mso_sptBlockArcDefault,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBlockArcHandle, sizeof( mso_sptBlockArcHandle ) / sizeof( 
SvxMSDffHandle )      // handles
 };
@@ -3309,7 +3309,7 @@ static const mso_CustomShape msoHeart =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptHeartTextRect, sizeof( mso_sptHeartTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21615, 21602,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptHeartGluePoints, sizeof( mso_sptHeartGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -3337,7 +3337,7 @@ static const mso_CustomShape msoLightningBold =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptLightningBoldTextRect, sizeof( mso_sptLightningBoldTextRect ) 
/ sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptLightningBoldGluePoints, sizeof( mso_sptLightningBoldGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -3431,7 +3431,7 @@ static const SvxMSDffTextRectangles mso_sptSunTextRect[] =
 static const SvxMSDffHandle mso_sptSunHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 2700, 10125, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, 2700, 10125, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoSun =
 {
@@ -3441,7 +3441,7 @@ static const mso_CustomShape msoSun =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptSunTextRect, sizeof( mso_sptSunTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptSunHandle, sizeof( mso_sptSunHandle ) / sizeof( SvxMSDffHandle )       
 // handles
 };
@@ -3483,7 +3483,7 @@ static const SvxMSDffVertPair mso_sptMoonGluePoints[] =
 static const SvxMSDffHandle mso_sptMoonHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0, 18900, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, 0, 18900, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoMoon =
 {
@@ -3493,7 +3493,7 @@ static const mso_CustomShape msoMoon =
     (sal_Int32*)mso_sptDefault10800,
     (SvxMSDffTextRectangles*)mso_sptMoonTextRect, sizeof( mso_sptMoonTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptMoonGluePoints, sizeof( mso_sptMoonGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptMoonHandle, sizeof( mso_sptMoonHandle ) / sizeof( SvxMSDffHandle )     
 // handles
 };
@@ -3536,7 +3536,7 @@ static const SvxMSDffTextRectangles mso_sptBracketPairTextRect[] =
 static const SvxMSDffHandle mso_sptBracketPairHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBracketPair =
 {
@@ -3546,7 +3546,7 @@ static const mso_CustomShape msoBracketPair =
     (sal_Int32*)mso_sptDefault3700,
     (SvxMSDffTextRectangles*)mso_sptBracketPairTextRect, sizeof( mso_sptBracketPairTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    10800, 0x80000000,
+    10800, static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptBracketPairHandle, sizeof( mso_sptBracketPairHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -3562,7 +3562,7 @@ static const SvxMSDffTextRectangles mso_sptPlaqueTextRect[] =
 static const SvxMSDffHandle mso_sptPlaqueHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoPlaque =
 {
@@ -3614,7 +3614,7 @@ static const SvxMSDffTextRectangles mso_sptBracePairTextRect[] =
 static const SvxMSDffHandle mso_sptBracePairHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_SWITCHED,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 5400 }
 };
 static const mso_CustomShape msoBracePair =
 {
@@ -3624,7 +3624,7 @@ static const mso_CustomShape msoBracePair =
     (sal_Int32*)mso_sptDefault1800,
     (SvxMSDffTextRectangles*)mso_sptBracePairTextRect, sizeof( mso_sptBracePairTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    10800, 0x80000000,
+    10800, static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptBracePairHandle, sizeof( mso_sptBracePairHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -3657,7 +3657,7 @@ static const SvxMSDffVertPair mso_sptLeftBracketGluePoints[] =
 static const SvxMSDffHandle mso_sptLeftBracketHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoLeftBracket =
 {
@@ -3667,7 +3667,7 @@ static const mso_CustomShape msoLeftBracket =
     (sal_Int32*)mso_sptDefault1800,
     (SvxMSDffTextRectangles*)mso_sptLeftBracketTextRect, sizeof( mso_sptLeftBracketTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptLeftBracketHandle, sizeof( mso_sptLeftBracketHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -3687,7 +3687,7 @@ static const SvxMSDffVertPair mso_sptRightBracketGluePoints[] =
 static const SvxMSDffHandle mso_sptRightBracketHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        1, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        1, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoRightBracket =
 {
@@ -3697,7 +3697,7 @@ static const mso_CustomShape msoRightBracket =
     (sal_Int32*)mso_sptDefault1800,
     (SvxMSDffTextRectangles*)mso_sptRightBracketTextRect, sizeof( mso_sptRightBracketTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptRightBracketHandle, sizeof( mso_sptRightBracketHandle ) / sizeof( 
SvxMSDffHandle )      // handles
 };
@@ -3741,9 +3741,9 @@ static const SvxMSDffTextRectangles mso_sptLeftBraceTextRect[] =
 static const SvxMSDffHandle mso_sptLeftBraceHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 5400 },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
+        0, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 21600 }
 };
 static const mso_CustomShape msoLeftBrace =     // adj value0 0 -> 5400
 {                                               // adj value1 0 -> 21600
@@ -3753,7 +3753,7 @@ static const mso_CustomShape msoLeftBrace =     // adj value0 0 -> 5400
     (sal_Int32*)mso_sptBraceDefault,
     (SvxMSDffTextRectangles*)mso_sptLeftBraceTextRect, sizeof( mso_sptLeftBraceTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptLeftBracketGluePoints, sizeof( mso_sptLeftBracketGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptLeftBraceHandle, sizeof( mso_sptLeftBraceHandle ) / sizeof( 
SvxMSDffHandle )        // handles
 };
@@ -3774,9 +3774,9 @@ static const SvxMSDffTextRectangles mso_sptRightBraceTextRect[] =
 static const SvxMSDffHandle mso_sptRightBraceHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 },
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 5400 },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        1, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
+        1, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 21600 }
 };
 static const mso_CustomShape msoRightBrace =        // adj value0 0 -> 5400
 {                                               // adj value1 0 -> 21600
@@ -3786,7 +3786,7 @@ static const mso_CustomShape msoRightBrace =        // adj value0 0 -> 5400
     (sal_Int32*)mso_sptBraceDefault,
     (SvxMSDffTextRectangles*)mso_sptRightBraceTextRect, sizeof( mso_sptRightBraceTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptRightBracketGluePoints, sizeof( mso_sptRightBracketGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptRightBraceHandle, sizeof( mso_sptRightBraceHandle ) / sizeof( 
SvxMSDffHandle )      // handles
 };
@@ -3816,7 +3816,7 @@ static const mso_CustomShape msoIrregularSeal1 =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptIrregularSeal1TextRect, sizeof( mso_sptIrregularSeal1TextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptIrregularSeal1GluePoints, sizeof( mso_sptIrregularSeal1GluePoints ) 
/ sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -3848,7 +3848,7 @@ static const mso_CustomShape msoIrregularSeal2 =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptIrregularSeal2TextRect, sizeof( mso_sptIrregularSeal2TextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptIrregularSeal2GluePoints, sizeof( mso_sptIrregularSeal2GluePoints ) 
/ sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -3874,7 +3874,7 @@ static const SvxMSDffTextRectangles mso_sptSeal4TextRect[] =
 static const SvxMSDffHandle mso_sptSealHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoSeal4 =
 {
@@ -3884,7 +3884,7 @@ static const mso_CustomShape msoSeal4 =
     (sal_Int32*)mso_sptDefault8100,
     (SvxMSDffTextRectangles*)mso_sptSeal4TextRect, sizeof( mso_sptSeal4TextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )     
 // handles
 };
@@ -3907,7 +3907,7 @@ static const mso_CustomShape msoStar =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptStarTextRect, sizeof( mso_sptStarTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -4036,7 +4036,7 @@ static const mso_CustomShape msoSeal8 =
     (sal_Int32*)mso_sptDefault2500,
     (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )     
 // handles
 };
@@ -4132,7 +4132,7 @@ static const mso_CustomShape msoSeal16 =
     (sal_Int32*)mso_sptDefault2500,
     (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )     
 // handles
 };
@@ -4160,7 +4160,7 @@ static const mso_CustomShape msoSeal24 =
     (sal_Int32*)mso_sptDefault2500,
     (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )     
 // handles
 };
@@ -4328,7 +4328,7 @@ static const mso_CustomShape msoSeal32 =
     (sal_Int32*)mso_sptDefault2500,
     (SvxMSDffTextRectangles*)mso_sptSealTextRect, sizeof( mso_sptSealTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptSealHandle, sizeof( mso_sptSealHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -4413,9 +4413,9 @@ static const SvxMSDffTextRectangles mso_sptRibbon2TextRect[] =
 static const SvxMSDffHandle mso_sptRibbon2Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
+        0x100, 0, 10800, 10800, 2700, 8100, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
+        10800, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 14400, 21600 }
 };
 static const mso_CustomShape msoRibbon2 =
 {
@@ -4425,7 +4425,7 @@ static const mso_CustomShape msoRibbon2 =
     (sal_Int32*)mso_sptRibbon2Default,
     (SvxMSDffTextRectangles*)mso_sptRibbon2TextRect, sizeof( mso_sptRibbon2TextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptRibbon2Handle, sizeof( mso_sptRibbon2Handle ) / sizeof( SvxMSDffHandle 
)
 };
@@ -4494,9 +4494,9 @@ static const SvxMSDffVertPair mso_sptRibbonGluePoints[] =
 static const SvxMSDffHandle mso_sptRibbonHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 2700, 8100, 0x80000000, 0x7fffffff },
+        0x100, 0, 10800, 10800, 2700, 8100, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
+        10800, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 7200 }
 };
 static const mso_CustomShape msoRibbon =
 {
@@ -4506,7 +4506,7 @@ static const mso_CustomShape msoRibbon =
     (sal_Int32*)mso_sptRibbonDefault,
     (SvxMSDffTextRectangles*)mso_sptRibbonTextRect, sizeof( mso_sptRibbonTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptRibbonGluePoints, sizeof( mso_sptRibbonGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptRibbonHandle, sizeof( mso_sptRibbonHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -4562,7 +4562,7 @@ static const SvxMSDffTextRectangles mso_sptScrollTextRect[] =
 static const SvxMSDffHandle mso_sptVerticalScrollHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 5400 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 5400 }
 };
 static const mso_CustomShape msoVerticalScroll =
 {
@@ -4608,7 +4608,7 @@ static const sal_uInt16 mso_sptHorizontalScrollSegm[] =
 static const SvxMSDffHandle mso_sptHorizontalScrollHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 5400, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 5400, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoHorizontalScroll =
 {
@@ -4635,7 +4635,7 @@ static const mso_CustomShape msoFlowChartProcess =
     NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4672,7 +4672,7 @@ static const mso_CustomShape msoFlowChartAlternateProcess =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartAlternateProcessTextRect, sizeof( 
mso_sptFlowChartAlternateProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4693,7 +4693,7 @@ static const mso_CustomShape msoFlowChartDecision =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartDecisionTextRect, sizeof( 
mso_sptFlowChartDecisionTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4718,7 +4718,7 @@ static const mso_CustomShape msoFlowChartInputOutput =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartInputOutputTextRect, sizeof( 
mso_sptFlowChartInputOutputTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartInputOutputGluePoints, sizeof( 
mso_sptFlowChartInputOutputGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4749,7 +4749,7 @@ static const mso_CustomShape msoFlowChartPredefinedProcess =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartPredefinedProcessTextRect, sizeof( 
mso_sptFlowChartPredefinedProcessTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -4780,7 +4780,7 @@ static const mso_CustomShape msoFlowChartInternalStorage =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartInternalStorageTextRect, sizeof( 
mso_sptFlowChartInternalStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -4811,7 +4811,7 @@ static const mso_CustomShape msoFlowChartDocument =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartDocumentTextRect, sizeof( 
mso_sptFlowChartDocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartDocumentGluePoints, sizeof( 
mso_sptFlowChartDocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4850,7 +4850,7 @@ static const mso_CustomShape msoFlowChartMultidocument =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartMultidocumentTextRect, sizeof( 
mso_sptFlowChartMultidocumentTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartMultidocumentGluePoints, sizeof( 
mso_sptFlowChartMultidocumentGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4876,7 +4876,7 @@ static const mso_CustomShape msoFlowChartTerminator =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartTerminatorTextRect, sizeof( 
mso_sptFlowChartTerminatorTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4898,7 +4898,7 @@ static const mso_CustomShape msoFlowChartPreparation =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartPreparationTextRect, sizeof( 
mso_sptFlowChartPreparationTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4923,7 +4923,7 @@ static const mso_CustomShape msoFlowChartManualInput =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartManualInputTextRect, sizeof( 
mso_sptFlowChartManualInputTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartManualInputGluePoints, sizeof( 
mso_sptFlowChartManualInputGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4948,7 +4948,7 @@ static const mso_CustomShape msoFlowChartManualOperation =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartManualOperationTextRect, sizeof( 
mso_sptFlowChartManualOperationTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartManualOperationGluePoints, sizeof( 
mso_sptFlowChartManualOperationGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4973,7 +4973,7 @@ static const mso_CustomShape msoFlowChartConnector =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartConnectorTextRect, sizeof( 
mso_sptFlowChartConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -4995,7 +4995,7 @@ static const mso_CustomShape msoFlowChartOffpageConnector =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartOffpageConnectorTextRect, sizeof( 
mso_sptFlowChartOffpageConnectorTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5017,7 +5017,7 @@ static const mso_CustomShape msoFlowChartPunchedCard =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedCardTextRect, sizeof( 
mso_sptFlowChartPunchedCardTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5055,7 +5055,7 @@ static const mso_CustomShape msoFlowChartPunchedTape =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartPunchedTapeTextRect, sizeof( 
mso_sptFlowChartPunchedTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartPunchedTapeGluePoints, sizeof( 
mso_sptFlowChartPunchedTapeGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5088,7 +5088,7 @@ static const mso_CustomShape msoFlowChartSummingJunction =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartSummingJunctionTextRect, sizeof( 
mso_sptFlowChartSummingJunctionTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5119,7 +5119,7 @@ static const mso_CustomShape msoFlowChartOr =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartOrTextRect, sizeof( mso_sptFlowChartOrTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptEllipseGluePoints, sizeof( mso_sptEllipseGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5144,7 +5144,7 @@ static const mso_CustomShape msoFlowChartCollate =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartCollateTextRect, sizeof( 
mso_sptFlowChartCollateTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartCollateGluePoints, sizeof( 
mso_sptFlowChartCollateGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5172,7 +5172,7 @@ static const mso_CustomShape msoFlowChartSort =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartSortTextRect, sizeof( mso_sptFlowChartSortTextRect ) 
/ sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0     // handles
 };
@@ -5197,7 +5197,7 @@ static const mso_CustomShape msoFlowChartExtract =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartExtractTextRect, sizeof( 
mso_sptFlowChartExtractTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( 
mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5218,7 +5218,7 @@ static const mso_CustomShape msoFlowChartMerge =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartMergeTextRect, sizeof( mso_sptFlowChartMergeTextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartExtractGluePoints, sizeof( 
mso_sptFlowChartExtractGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5248,7 +5248,7 @@ static const mso_CustomShape msoFlowChartOnlineStorage =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartOnlineStorageTextRect, sizeof( 
mso_sptFlowChartOnlineStorageTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartOnlineStorageGluePoints, sizeof( 
mso_sptFlowChartOnlineStorageGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5274,7 +5274,7 @@ static const mso_CustomShape msoFlowChartDelay =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartDelayTextRect, sizeof( mso_sptFlowChartDelayTextRect 
) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5303,7 +5303,7 @@ static const mso_CustomShape msoFlowChartMagneticTape =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticTapeTextRect, sizeof( 
mso_sptFlowChartMagneticTapeTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5336,7 +5336,7 @@ static const mso_CustomShape msoFlowChartMagneticDisk =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDiskTextRect, sizeof( 
mso_sptFlowChartMagneticDiskTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDiskGluePoints, sizeof( 
mso_sptFlowChartMagneticDiskGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5369,7 +5369,7 @@ static const mso_CustomShape msoFlowChartMagneticDrum =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartMagneticDrumTextRect, sizeof( 
mso_sptFlowChartMagneticDrumTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptFlowChartMagneticDrumGluePoints, sizeof( 
mso_sptFlowChartMagneticDrumGluePoints ) / sizeof( SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5395,7 +5395,7 @@ static const mso_CustomShape msoFlowChartDisplay =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFlowChartDisplayTextRect, sizeof( 
mso_sptFlowChartDisplayTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptStandardGluePoints, sizeof( mso_sptStandardGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     NULL, 0     // handles
 };
@@ -5477,7 +5477,7 @@ static const SvxMSDffHandle mso_sptCalloutHandle[] =
 {
     {
         0,
-        0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff
+        0x100, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff
     }
 };
 static const mso_CustomShape msoWedgeRectCallout =
@@ -5488,7 +5488,7 @@ static const mso_CustomShape msoWedgeRectCallout =
     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptWedgeRectCalloutTextRect, sizeof( 
mso_sptWedgeRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptWedgeRectCalloutGluePoints, sizeof( 
mso_sptWedgeRectCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -5524,7 +5524,7 @@ static const mso_CustomShape msoWedgeRRectCallout =
     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptWedgeRRectCalloutTextRect, sizeof( 
mso_sptWedgeRRectCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -5548,7 +5548,7 @@ static const SvxMSDffHandle mso_sptBalloonHandle[] =
 {
     {
         MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 1, 10800, 10800, 0, 8990, 0x80000000, 0x7fffffff
+        0x100, 1, 10800, 10800, 0, 8990, static_cast<sal_Int32>(0x80000000), 0x7fffffff
     }
 };
 static const SvxMSDffTextRectangles mso_sptBalloonTextRect[] =
@@ -5563,7 +5563,7 @@ static const mso_CustomShape msoBalloon =
     (sal_Int32*)mso_sptWedgeRectCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptBalloonTextRect, sizeof( mso_sptBalloonTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBalloonHandle, sizeof( mso_sptBalloonHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -5622,7 +5622,7 @@ static const mso_CustomShape msoWedgeEllipseCallout =
     (sal_Int32*)mso_sptWedgeEllipseCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptWedgeEllipseCalloutTextRect, sizeof( 
mso_sptWedgeEllipseCalloutTextRect ) / sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptWedgeEllipseCalloutGluePoints, sizeof( 
mso_sptWedgeEllipseCalloutGluePoints ) / sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -5727,7 +5727,7 @@ static const mso_CustomShape msoCloudCallout =
     (sal_Int32*)mso_sptCloudCalloutDefault,
     (SvxMSDffTextRectangles*)mso_sptCloudCalloutTextRect, sizeof( mso_sptCloudCalloutTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle, sizeof( mso_sptCalloutHandle ) / sizeof( SvxMSDffHandle 
)        // handles
 };
@@ -5785,9 +5785,9 @@ static const sal_uInt16 mso_sptWaveSegm[] =
 static const SvxMSDffHandle mso_sptWaveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4460 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 4460 },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
+        0x101, 21600, 10800, 10800, 8640, 12960, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptWaveDefault[] =
 {
@@ -5805,7 +5805,7 @@ static const mso_CustomShape msoWave =
     (sal_Int32*)mso_sptWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptWaveTextRect, sizeof( mso_sptWaveTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -5867,9 +5867,9 @@ static const sal_uInt16 mso_sptDoubleWaveSegm[] =
 static const SvxMSDffHandle mso_sptDoubleWaveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 2230 },
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 2230 },
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x101, 21600, 10800, 10800, 8640, 12960, 0x80000000, 0x7fffffff }
+        0x101, 21600, 10800, 10800, 8640, 12960, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptDoubleWaveDefault[] =
 {
@@ -5887,7 +5887,7 @@ static const mso_CustomShape msoDoubleWave =
     (sal_Int32*)mso_sptDoubleWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -5985,7 +5985,7 @@ static const mso_CustomShape msoFontWork =
     NULL,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     NULL, 0 // Handles
 };
@@ -6013,7 +6013,7 @@ static const sal_uInt16 mso_sptTextPlainTextSegm[] =
 static const SvxMSDffHandle mso_sptTextPlainTextHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 21600, 10800, 10800, 6629, 14971, 0x80000000, 0x7fffffff }
+        0x100, 21600, 10800, 10800, 6629, 14971, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoTextPlainText =
 {
@@ -6023,7 +6023,7 @@ static const mso_CustomShape msoTextPlainText =
     (sal_Int32*)mso_sptDefault10800,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextPlainTextHandle, sizeof( mso_sptTextPlainTextHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6050,7 +6050,7 @@ static const sal_Int32 mso_sptTextStopDefault[] =
 static const SvxMSDffHandle mso_sptTextStopHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 3080, 10800 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 3080, 10800 }
 };
 static const mso_CustomShape msoTextStop =
 {
@@ -6060,7 +6060,7 @@ static const mso_CustomShape msoTextStop =
     (sal_Int32*)mso_sptTextStopDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextStopHandle, sizeof( mso_sptTextStopHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6081,7 +6081,7 @@ static const sal_uInt16 mso_sptTextTriangleSegm[] =
 static const SvxMSDffHandle mso_sptTextTriangleHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 21600 }
 };
 static const mso_CustomShape msoTextTriangle =
 {
@@ -6091,7 +6091,7 @@ static const mso_CustomShape msoTextTriangle =
     (sal_Int32*)mso_sptDefault10800,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6112,7 +6112,7 @@ static const mso_CustomShape msoTextTriangleInverted =
     (sal_Int32*)mso_sptDefault10800,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextTriangleHandle, sizeof( mso_sptTextTriangleHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6134,7 +6134,7 @@ static const sal_uInt16 mso_sptTextChevronSegm[] =
 static const SvxMSDffHandle mso_sptTextChevronHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoTextChevron =
 {
@@ -6144,7 +6144,7 @@ static const mso_CustomShape msoTextChevron =
     (sal_Int32*)mso_sptDefault5400,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextChevronHandle, sizeof( mso_sptTextChevronHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6166,7 +6166,7 @@ static const sal_uInt16 mso_sptTextChevronInvertedSegm[] =
 static const SvxMSDffHandle mso_sptTextChevronInvertedHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 10800, 21600 }
 };
 static const mso_CustomShape msoTextChevronInverted =
 {
@@ -6176,7 +6176,7 @@ static const mso_CustomShape msoTextChevronInverted =
     (sal_Int32*)mso_sptDefault16200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextChevronInvertedHandle, sizeof( mso_sptTextChevronInvertedHandle ) 
/ sizeof( SvxMSDffHandle )
 };
@@ -6199,7 +6199,7 @@ static const sal_uInt16 mso_sptTextRingOutsideSegm[] =
 static const SvxMSDffHandle mso_sptTextRingOutsideHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 10800, 21600 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 10800, 21600 }
 };
 static const mso_CustomShape msoTextRingOutside =
 {
@@ -6209,7 +6209,7 @@ static const mso_CustomShape msoTextRingOutside =
     (sal_Int32*)mso_sptDefault16200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextRingOutsideHandle, sizeof( mso_sptTextRingOutsideHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6231,7 +6231,7 @@ static const sal_uInt16 mso_sptTextFadeSegm[] =
 static const SvxMSDffHandle mso_sptTextFadeRightHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        21600, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoTextFadeRight =
 {
@@ -6241,7 +6241,7 @@ static const mso_CustomShape msoTextFadeRight =
     (sal_Int32*)mso_sptDefault7200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextFadeRightHandle, sizeof( mso_sptTextFadeRightHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6253,7 +6253,7 @@ static const SvxMSDffVertPair mso_sptTextFadeLeftVert[] =
 static const SvxMSDffHandle mso_sptTextFadeLeftHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10800 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10800 }
 };
 static const mso_CustomShape msoTextFadeLeft =
 {
@@ -6263,7 +6263,7 @@ static const mso_CustomShape msoTextFadeLeft =
     (sal_Int32*)mso_sptDefault7200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextFadeLeftHandle, sizeof( mso_sptTextFadeLeftHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6275,7 +6275,7 @@ static const SvxMSDffVertPair mso_sptTextFadeUpVert[] =
 static const SvxMSDffHandle mso_sptTextFadeUpHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 0, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 0, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoTextFadeUp =
 {
@@ -6285,7 +6285,7 @@ static const mso_CustomShape msoTextFadeUp =
     (sal_Int32*)mso_sptDefault7200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextFadeUpHandle, sizeof( mso_sptTextFadeUpHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6297,7 +6297,7 @@ static const SvxMSDffVertPair mso_sptTextFadeDownVert[] =
 static const SvxMSDffHandle mso_sptTextFadeDownHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 21600, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x100, 21600, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoTextFadeDown =
 {
@@ -6307,7 +6307,7 @@ static const mso_CustomShape msoTextFadeDown =
     (sal_Int32*)mso_sptDefault7200,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextFadeDownHandle, sizeof( mso_sptTextFadeDownHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6319,7 +6319,7 @@ static const SvxMSDffVertPair mso_sptTextSlantUpVert[] =
 static const SvxMSDffHandle mso_sptTextSlantUpHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 15400 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 15400 }
 };
 static const mso_CustomShape msoTextSlantUp =
 {
@@ -6329,7 +6329,7 @@ static const mso_CustomShape msoTextSlantUp =
     (sal_Int32*)mso_sptDefault12000,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextSlantUpHandle, sizeof( mso_sptTextSlantUpHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6341,7 +6341,7 @@ static const SvxMSDffVertPair mso_sptTextSlantDownVert[] =
 static const SvxMSDffHandle mso_sptTextSlantDownHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 6200, 21600 }
 };
 static const mso_CustomShape msoTextSlantDown =
 {
@@ -6351,7 +6351,7 @@ static const mso_CustomShape msoTextSlantDown =
     (sal_Int32*)mso_sptDefault12000,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextSlantDownHandle, sizeof( mso_sptTextSlantDownHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6369,7 +6369,7 @@ static const SvxMSDffCalculationData mso_sptTextCascadeCalc[] =
 static const SvxMSDffHandle mso_sptTextCascadeUpHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
+        21600, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 6200, 21600 }
 };
 static const mso_CustomShape msoTextCascadeUp =
 {
@@ -6379,7 +6379,7 @@ static const mso_CustomShape msoTextCascadeUp =
     (sal_Int32*)mso_sptDefault9600,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCascadeUpHandle, sizeof( mso_sptTextCascadeUpHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6391,7 +6391,7 @@ static const SvxMSDffVertPair mso_sptTextCascadeDownVert[] =
 static const SvxMSDffHandle mso_sptTextCascadeDownHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 6200, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 6200, 21600 }
 };
 static const mso_CustomShape msoTextCascadeDown =
 {
@@ -6401,7 +6401,7 @@ static const mso_CustomShape msoTextCascadeDown =
     (sal_Int32*)mso_sptDefault9600,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCascadeDownHandle, sizeof( mso_sptTextCascadeDownHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6425,7 +6425,7 @@ static const sal_uInt16 mso_sptTextArchUpCurveSegm[] =
 static const SvxMSDffHandle mso_sptTextArchUpCurveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR,
-        10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        10800, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextArchUpCurveDefault[] =
 {
@@ -6439,7 +6439,7 @@ static const mso_CustomShape msoTextArchUpCurve =
     (sal_Int32*)mso_sptTextArchUpCurveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextArchUpCurveHandle, sizeof( mso_sptTextArchUpCurveHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6455,7 +6455,7 @@ static const sal_uInt16 mso_sptTextArchDownCurveSegm[] =
 static const SvxMSDffHandle mso_sptTextArchDownCurveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR,
-        10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        10800, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextArchDownCurveDefault[] =
 {
@@ -6469,7 +6469,7 @@ static const mso_CustomShape msoTextArchDownCurve =
     (sal_Int32*)mso_sptTextArchDownCurveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextArchDownCurveHandle, sizeof( mso_sptTextArchDownCurveHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6493,7 +6493,7 @@ static const sal_uInt16 mso_sptTextCircleCurveSegm[] =
 static const SvxMSDffHandle mso_sptTextCircleCurveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR,
-        10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        10800, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextCircleCurveDefault[] =
 {
@@ -6507,7 +6507,7 @@ static const mso_CustomShape msoTextCircleCurve =
     (sal_Int32*)mso_sptTextCircleCurveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCircleCurveHandle, sizeof( mso_sptTextCircleCurveHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6536,7 +6536,7 @@ static const sal_uInt16 mso_sptTextButtonCurveSegm[] =
 static const SvxMSDffHandle mso_sptTextButtonCurveHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR,
-        10800, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        10800, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextButtonCurveDefault[] =
 {
@@ -6550,7 +6550,7 @@ static const mso_CustomShape msoTextButtonCurve =
     (sal_Int32*)mso_sptTextButtonCurveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextButtonCurveHandle, sizeof( mso_sptTextButtonCurveHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -6582,7 +6582,7 @@ static const sal_uInt16 mso_sptTextArchUpPourSegm[] =
 static const SvxMSDffHandle mso_sptTextArchPourHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x101, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextArchUpPourDefault[] =
 {
@@ -6596,7 +6596,7 @@ static const mso_CustomShape msoTextArchUpPour =
     (sal_Int32*)mso_sptTextArchUpPourDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6622,7 +6622,7 @@ static const mso_CustomShape msoTextArchDownPour =
     (sal_Int32*)mso_sptTextArchDownPourDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextArchPourHandle, sizeof( mso_sptTextArchPourHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6655,7 +6655,7 @@ static const sal_uInt16 mso_sptTextCirclePourSegm[] =
 static const SvxMSDffHandle mso_sptTextCirclePourHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        0x101, 0x100, 10800, 10800, 0, 10800, 0x80000000, 0x7fffffff }
+        0x101, 0x100, 10800, 10800, 0, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextCirclePourDefault[] =
 {
@@ -6669,7 +6669,7 @@ static const mso_CustomShape msoTextCirclePour =
     (sal_Int32*)mso_sptTextCirclePourDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCirclePourHandle, sizeof( mso_sptTextCirclePourHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6723,7 +6723,7 @@ static const sal_uInt16 mso_sptTextButtonPourSegm[] =
 static const SvxMSDffHandle mso_sptTextButtonPourHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_POLAR | MSDFF_HANDLE_FLAGS_RADIUS_RANGE,
-        0x101, 0x100, 10800, 10800, 4320, 10800, 0x80000000, 0x7fffffff }
+        0x101, 0x100, 10800, 10800, 4320, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_Int32 mso_sptTextButtonPourDefault[] =
 {
@@ -6737,7 +6737,7 @@ static const mso_CustomShape msoTextButtonPour =
     (sal_Int32*)mso_sptTextButtonPourDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextButtonPourHandle, sizeof( mso_sptTextButtonPourHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6763,7 +6763,7 @@ static const sal_uInt16 mso_sptTextCurveUpSegm[] =
 static const SvxMSDffHandle mso_sptTextCurveUpHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 12170 }
 };
 static const sal_Int32 mso_sptTextCurveUpDefault[] =
 {
@@ -6777,7 +6777,7 @@ static const mso_CustomShape msoTextCurveUp =
     (sal_Int32*)mso_sptTextCurveUpDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCurveUpHandle, sizeof( mso_sptTextCurveUpHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6793,7 +6793,7 @@ static const SvxMSDffVertPair mso_sptTextCurveDownVert[] =
 static const SvxMSDffHandle mso_sptTextCurveDownHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        21600, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 12170 }
+        21600, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 12170 }
 };
 static const mso_CustomShape msoTextCurveDown =
 {
@@ -6803,7 +6803,7 @@ static const mso_CustomShape msoTextCurveDown =
     (sal_Int32*)mso_sptTextCurveUpDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCurveDownHandle, sizeof( mso_sptTextCurveDownHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6829,7 +6829,7 @@ static const sal_uInt16 mso_sptTextCanUpSegm[] =
 static const SvxMSDffHandle mso_sptTextCanUpHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 14400, 21600 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 14400, 21600 }
 };
 static const sal_Int32 mso_sptTextCanUpDefault[] =
 {
@@ -6843,7 +6843,7 @@ static const mso_CustomShape msoTextCanUp =
     (sal_Int32*)mso_sptTextCanUpDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCanUpHandle, sizeof( mso_sptTextCanUpHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6862,7 +6862,7 @@ static const SvxMSDffCalculationData mso_sptTextCanDownCalc[] =
 static const SvxMSDffHandle mso_sptTextCanDownHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 7200 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 7200 }
 };
 static const sal_Int32 mso_sptTextCanDownDefault[] =
 {
@@ -6876,7 +6876,7 @@ static const mso_CustomShape msoTextCanDown =
     (sal_Int32*)mso_sptTextCanDownDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextCanDownHandle, sizeof( mso_sptTextCanDownHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6896,7 +6896,7 @@ static const SvxMSDffCalculationData mso_sptTextInflateCalc[] =
 static const SvxMSDffHandle mso_sptTextInflateHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 4650 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 4650 }
 };
 static const sal_Int32 mso_sptTextInflateDefault[] =
 {
@@ -6910,7 +6910,7 @@ static const mso_CustomShape msoTextInflate =
     (sal_Int32*)mso_sptTextInflateDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextInflateHandle, sizeof( mso_sptTextInflateHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6930,7 +6930,7 @@ static const SvxMSDffCalculationData mso_sptTextDeflateCalc[] =
 static const SvxMSDffHandle mso_sptTextDeflateHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 8100 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 8100 }
 };
 static const mso_CustomShape msoTextDeflate =
 {
@@ -6940,7 +6940,7 @@ static const mso_CustomShape msoTextDeflate =
     (sal_Int32*)mso_sptDefault8100,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextDeflateHandle, sizeof( mso_sptTextDeflateHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -6965,7 +6965,7 @@ static const sal_uInt16 mso_sptTextInflateBottomSegm[] =
 static const SvxMSDffHandle mso_sptTextInflateBottomHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 11150, 21600 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 11150, 21600 }
 };
 static const sal_Int32 mso_sptTextInflateBottomDefault[] =
 {
@@ -6979,7 +6979,7 @@ static const mso_CustomShape msoTextInflateBottom =
     (sal_Int32*)mso_sptTextInflateBottomDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextInflateBottomHandle, sizeof( mso_sptTextInflateBottomHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -7004,7 +7004,7 @@ static const sal_uInt16 mso_sptTextDeflateBottomSegm[] =
 static const SvxMSDffHandle mso_sptTextDeflateBottomHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1350, 21600 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 1350, 21600 }
 };
 static const sal_Int32 mso_sptTextDeflateBottomDefault[] =
 {
@@ -7018,7 +7018,7 @@ static const mso_CustomShape msoTextDeflateBottom =
     (sal_Int32*)mso_sptTextDeflateBottomDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextDeflateBottomHandle, sizeof( mso_sptTextDeflateBottomHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -7041,7 +7041,7 @@ static const sal_uInt16 mso_sptTextInflateTopSegm[] =
 static const SvxMSDffHandle mso_sptTextInflateTopHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 10450 }
+        0, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 10450 }
 };
 static const sal_Int32 mso_sptTextInflateTopDefault[] =
 {
@@ -7055,7 +7055,7 @@ static const mso_CustomShape msoTextInflateTop =
     (sal_Int32*)mso_sptTextInflateTopDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextInflateTopHandle, sizeof( mso_sptTextInflateTopHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7078,7 +7078,7 @@ static const sal_uInt16 mso_sptTextDeflateTopSegm[] =
 static const SvxMSDffHandle mso_sptTextDeflateTopHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 0, 20250 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 0, 20250 }
 };
 static const sal_Int32 mso_sptTextDeflateTopDefault[] =
 {
@@ -7092,7 +7092,7 @@ static const mso_CustomShape msoTextDeflateTop =
     (sal_Int32*)mso_sptTextDeflateTopDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextDeflateTopHandle, sizeof( mso_sptTextDeflateTopHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7124,7 +7124,7 @@ static const sal_uInt16 mso_sptTextDeflateInflateSegm[] =
 static const SvxMSDffHandle mso_sptTextDeflateInflateHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 1300, 20300 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 1300, 20300 }
 };
 static const sal_Int32 mso_sptTextDeflateInflateDefault[] =
 {
@@ -7138,7 +7138,7 @@ static const mso_CustomShape msoTextDeflateInflate =
     (sal_Int32*)mso_sptTextDeflateInflateDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextDeflateInflateHandle, sizeof( mso_sptTextDeflateInflateHandle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -7178,7 +7178,7 @@ static const sal_uInt16 mso_sptTextDeflateInflateDeflateSegm[] =
 static const SvxMSDffHandle mso_sptTextDeflateInflateDeflateHandle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        10800, 0x100, 10800, 10800, 0x80000000, 0x7fffffff, 850, 9550 }
+        10800, 0x100, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 850, 9550 }
 };
 static const sal_Int32 mso_sptTextDeflateInflateDeflateDefault[] =
 {
@@ -7192,7 +7192,7 @@ static const mso_CustomShape msoTextDeflateInflateDeflate =
     (sal_Int32*)mso_sptTextDeflateInflateDeflateDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptTextDeflateInflateDeflateHandle, sizeof( 
mso_sptTextDeflateInflateDeflateHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -7215,7 +7215,7 @@ static const mso_CustomShape msoTextWave1 =
     (sal_Int32*)mso_sptWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -7233,7 +7233,7 @@ static const mso_CustomShape msoTextWave2 =
     (sal_Int32*)mso_sptWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptFontWorkTextRect, sizeof( mso_sptFontWorkTextRect ) / sizeof( 
SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptWaveGluePoints, sizeof( mso_sptWaveGluePoints ) / sizeof( 
SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptWaveHandle, sizeof( mso_sptWaveHandle ) / sizeof( SvxMSDffHandle )
 };
@@ -7256,7 +7256,7 @@ static const mso_CustomShape msoTextWave3 =
     (sal_Int32*)mso_sptDoubleWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7274,7 +7274,7 @@ static const mso_CustomShape msoTextWave4 =
     (sal_Int32*)mso_sptDoubleWaveDefault,
     (SvxMSDffTextRectangles*)mso_sptDoubleWaveTextRect, sizeof( mso_sptDoubleWaveTextRect ) / 
sizeof( SvxMSDffTextRectangles ),
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     (SvxMSDffVertPair*)mso_sptDoubleWaveGluePoints, sizeof( mso_sptDoubleWaveGluePoints ) / 
sizeof( SvxMSDffVertPair ),
     (SvxMSDffHandle*)mso_sptDoubleWaveHandle, sizeof( mso_sptDoubleWaveHandle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7302,9 +7302,9 @@ static const SvxMSDffVertPair mso_sptCalloutVert1[] =
 static const SvxMSDffHandle mso_sptCalloutHandle1[] =
 {
     {   0,
-        0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x100, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
+        0x102, 0x103, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_uInt16 mso_sptCalloutSegm1a[] =
 {
@@ -7343,11 +7343,11 @@ static const SvxMSDffVertPair mso_sptCallout2Vertb[] =
 static const SvxMSDffHandle mso_sptCalloutHandle2[] =
 {
     {   0,
-        0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x100, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x102, 0x103, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
+        0x104, 0x105, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_uInt16 mso_sptCallout2Segm1a[] =
 {
@@ -7390,13 +7390,13 @@ static const SvxMSDffVertPair mso_sptCallout3Vertb[] =
 static const SvxMSDffHandle mso_sptCalloutHandle3[] =
 {
     {   0,
-        0x100, 0x101, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x100, 0x101, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x102, 0x103, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x102, 0x103, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x104, 0x105, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff },
+        0x104, 0x105, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   0,
-        0x106, 0x107, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
+        0x106, 0x107, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const sal_uInt16 mso_sptCallout3Segm1a[] =
 {
@@ -7441,7 +7441,7 @@ static const mso_CustomShape msoCallout90 =
     (sal_Int32*)mso_sptCalloutDefault1,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7453,7 +7453,7 @@ static const mso_CustomShape msoCallout1 =
     (sal_Int32*)mso_sptCalloutDefault2,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7465,7 +7465,7 @@ static const mso_CustomShape msoCallout2 =
     (sal_Int32*)mso_sptCalloutDefault3,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7477,7 +7477,7 @@ static const mso_CustomShape msoCallout3 =
     (sal_Int32*)mso_sptCalloutDefault4,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7489,7 +7489,7 @@ static const mso_CustomShape msoAccentCallout90 =
     (sal_Int32*)mso_sptCalloutDefault1,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7501,7 +7501,7 @@ static const mso_CustomShape msoAccentCallout1 =
     (sal_Int32*)mso_sptCalloutDefault2,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7513,7 +7513,7 @@ static const mso_CustomShape msoAccentCallout2 =
     (sal_Int32*)mso_sptCalloutDefault3,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7525,7 +7525,7 @@ static const mso_CustomShape msoAccentCallout3 =
     (sal_Int32*)mso_sptCalloutDefault4,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7537,7 +7537,7 @@ static const mso_CustomShape msoBorderCallout90 =
     (sal_Int32*)mso_sptCalloutDefault1,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7549,7 +7549,7 @@ static const mso_CustomShape msoBorderCallout1 =
     (sal_Int32*)mso_sptCalloutDefault2,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7561,7 +7561,7 @@ static const mso_CustomShape msoBorderCallout2 =
     (sal_Int32*)mso_sptCalloutDefault3,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7573,7 +7573,7 @@ static const mso_CustomShape msoBorderCallout3 =
     (sal_Int32*)mso_sptCalloutDefault4,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7585,7 +7585,7 @@ static const mso_CustomShape msoAccentBorderCallout90 =
     (sal_Int32*)mso_sptCalloutDefault1,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7597,7 +7597,7 @@ static const mso_CustomShape msoAccentBorderCallout1 =
     (sal_Int32*)mso_sptCalloutDefault2,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle1, sizeof( mso_sptCalloutHandle1 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7609,7 +7609,7 @@ static const mso_CustomShape msoAccentBorderCallout2 =
     (sal_Int32*)mso_sptCalloutDefault3,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle2, sizeof( mso_sptCalloutHandle2 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7621,7 +7621,7 @@ static const mso_CustomShape msoAccentBorderCallout3 =
     (sal_Int32*)mso_sptCalloutDefault4,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCalloutHandle3, sizeof( mso_sptCalloutHandle3 ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7642,7 +7642,7 @@ static const mso_CustomShape msoStraightConnector1 =
     (sal_Int32*)NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)NULL, 0
 };
@@ -7663,7 +7663,7 @@ static const mso_CustomShape msoBentConnector2 =
     (sal_Int32*)NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)NULL, 0
 };
@@ -7687,7 +7687,7 @@ static const sal_Int32 mso_sptBentConnector3Default[] =
 static const SvxMSDffHandle mso_sptBentConnector3Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBentConnector3 =
 {
@@ -7697,7 +7697,7 @@ static const mso_CustomShape msoBentConnector3 =
     (sal_Int32*)mso_sptBentConnector3Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBentConnector3Handle, sizeof( mso_sptBentConnector3Handle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7725,9 +7725,9 @@ static const sal_Int32 mso_sptBentConnector4Default[] =
 static const SvxMSDffHandle mso_sptBentConnector4Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x100, 4 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 4 + 3, 4 + 3 },
+        0x100, 4 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 4 + 3, 4 + 3 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
+        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoBentConnector4 =
 {
@@ -7737,7 +7737,7 @@ static const mso_CustomShape msoBentConnector4 =
     (sal_Int32*)mso_sptBentConnector4Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBentConnector4Handle, sizeof( mso_sptBentConnector4Handle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7768,11 +7768,11 @@ static const sal_Int32 mso_sptBentConnector5Default[] =
 static const SvxMSDffHandle mso_sptBentConnector5Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x100, 5 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 5 + 3, 5 + 3 },
+        0x100, 5 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 5 + 3, 5 + 3 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
+        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x102, 7 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 7 + 3, 7 + 3 }
+        0x102, 7 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 7 + 3, 7 + 3 }
 };
 static const mso_CustomShape msoBentConnector5 =
 {
@@ -7782,7 +7782,7 @@ static const mso_CustomShape msoBentConnector5 =
     (sal_Int32*)mso_sptBentConnector5Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptBentConnector5Handle, sizeof( mso_sptBentConnector5Handle ) / sizeof( 
SvxMSDffHandle )
 };
@@ -7803,7 +7803,7 @@ static const mso_CustomShape msoCurvedConnector2 =
     (sal_Int32*)NULL,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)NULL, 0
 };
@@ -7830,7 +7830,7 @@ static const sal_Int32 mso_sptCurvedConnector3Default[] =
 static const SvxMSDffHandle mso_sptCurvedConnector3Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE,
-        0x100, 10800, 10800, 10800, 0x80000000, 0x7fffffff, 0x80000000, 0x7fffffff }
+        0x100, 10800, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 
static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoCurvedConnector3 =
 {
@@ -7840,7 +7840,7 @@ static const mso_CustomShape msoCurvedConnector3 =
     (sal_Int32*)mso_sptCurvedConnector3Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCurvedConnector3Handle, sizeof( mso_sptCurvedConnector3Handle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -7881,9 +7881,9 @@ static const sal_Int32 mso_sptCurvedConnector4Default[] =
 static const SvxMSDffHandle mso_sptCurvedConnector4Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x100, 9 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 9 + 3, 9 + 3 },
+        0x100, 9 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 9 + 3, 9 + 3 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff }
+        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, static_cast<sal_Int32>(0x80000000), 0x7fffffff }
 };
 static const mso_CustomShape msoCurvedConnector4 =
 {
@@ -7893,7 +7893,7 @@ static const mso_CustomShape msoCurvedConnector4 =
     (sal_Int32*)mso_sptCurvedConnector4Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCurvedConnector4Handle, sizeof( mso_sptCurvedConnector4Handle ) / 
sizeof( SvxMSDffHandle )
 };
@@ -7942,11 +7942,11 @@ static const sal_Int32 mso_sptCurvedConnector5Default[] =
 static const SvxMSDffHandle mso_sptCurvedConnector5Handle[] =
 {
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x100, 11 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 11 + 3, 11 + 3 },
+        0x100, 11 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 11 + 3, 11 + 
3 },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_X_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_X_MAX_IS_SPECIAL,
-        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, 0x80000000, 0x7fffffff },
+        3 + 3, 0x101, 10800, 10800, 3 + 3, 3 + 3, static_cast<sal_Int32>(0x80000000), 0x7fffffff },
     {   MSDFF_HANDLE_FLAGS_RANGE | MSDFF_HANDLE_FLAGS_RANGE_Y_MIN_IS_SPECIAL | 
MSDFF_HANDLE_FLAGS_RANGE_Y_MAX_IS_SPECIAL,
-        0x102, 16 + 3, 10800, 10800, 0x80000000, 0x7fffffff, 16 + 3, 16 + 3 }
+        0x102, 16 + 3, 10800, 10800, static_cast<sal_Int32>(0x80000000), 0x7fffffff, 16 + 3, 16 + 
3 }
 };
 static const mso_CustomShape msoCurvedConnector5 =
 {
@@ -7956,7 +7956,7 @@ static const mso_CustomShape msoCurvedConnector5 =
     (sal_Int32*)mso_sptCurvedConnector5Default,
     NULL, 0,
     21600, 21600,
-    0x80000000, 0x80000000,
+    static_cast<sal_Int32>(0x80000000), static_cast<sal_Int32>(0x80000000),
     NULL, 0,
     (SvxMSDffHandle*)mso_sptCurvedConnector5Handle, sizeof( mso_sptCurvedConnector5Handle ) / 
sizeof( SvxMSDffHandle )
 };
diff --git a/vcl/unx/generic/app/wmadaptor.cxx b/vcl/unx/generic/app/wmadaptor.cxx
index b812e21..8b8007a 100644
--- a/vcl/unx/generic/app/wmadaptor.cxx
+++ b/vcl/unx/generic/app/wmadaptor.cxx
@@ -2404,7 +2404,7 @@ void WMAdaptor::setPID( X11SalFrame* i_pFrame ) const
 void WMAdaptor::setClientMachine( X11SalFrame* i_pFrame ) const
 {
     rtl::OString aWmClient( rtl::OUStringToOString( GetGenericData()->GetHostname(), 
RTL_TEXTENCODING_ASCII_US ) );
-    XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, 
aWmClient.getLength() };
+    XTextProperty aClientProp = { (unsigned char*)aWmClient.getStr(), XA_STRING, 8, 
static_cast<unsigned long>(aWmClient.getLength()) };
     XSetWMClientMachine( m_pDisplay, i_pFrame->GetShellWindow(), &aClientProp );
 }
 
-- 
1.7.5.4

From 64fac950146e5a27f1251568a3dd2d9dcac9a9f3 Mon Sep 17 00:00:00 2001
From: August Sodora <augsod@gmail.com>
Date: Sat, 31 Dec 2011 17:17:08 -0500
Subject: [PATCH 2/4] clang: Fix boost warnings

---
 boost/boost.clang.patch |   22 ++++++++++++++++++++++
 boost/makefile.mk       |    3 ++-
 2 files changed, 24 insertions(+), 1 deletions(-)
 create mode 100644 boost/boost.clang.patch

diff --git a/boost/boost.clang.patch b/boost/boost.clang.patch
new file mode 100644
index 0000000..4751273
--- /dev/null
+++ b/boost/boost.clang.patch
@@ -0,0 +1,22 @@
+--- misc/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp   2008-03-22 
17:45:55.000000000 -0400
++++ misc/build/boost_1_44_0/boost/ptr_container/detail/default_deleter.hpp     2011-12-31 
17:08:45.009735082 -0500
+@@ -61,7 +61,7 @@
+ { 
+     default_deleter() { }
+     template<typename TT>
+-    default_deleter(default_deleter<TT> tt) { }
++    default_deleter(default_deleter<TT> /* tt */) { }
+ };
+ 
+ } } } // End namespaces ptr_container_detail, move_ptrs, boost.
+--- misc/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp     2011-12-31 
17:13:59.717750314 -0500
++++ misc/build/boost_1_44_0/boost/ptr_container/ptr_sequence_adapter.hpp       2011-12-31 
17:09:48.757738168 -0500
+@@ -666,7 +666,7 @@
+ 
+         void range_check_impl( iterator first, iterator last, 
+                                std::bidirectional_iterator_tag )
+-        { /* do nothing */ }
++        { (void)first; (void)last; }
+ 
+         void range_check_impl( iterator first, iterator last,
+                                std::random_access_iterator_tag )
diff --git a/boost/makefile.mk b/boost/makefile.mk
index 3ba21d8..1824ea4 100644
--- a/boost/makefile.mk
+++ b/boost/makefile.mk
@@ -50,7 +50,8 @@ all:
 
 TARFILE_NAME=boost_1_44_0
 TARFILE_MD5=f02578f5218f217a9f20e9c30e119c6a
-PATCH_FILES=$(TARFILE_NAME).patch
+PATCH_FILES=boost.clang.patch
+PATCH_FILES+=$(TARFILE_NAME).patch
 #https://svn.boost.org/trac/boost/ticket/3780
 PATCH_FILES+=aliasing.patch
 #https://svn.boost.org/trac/boost/ticket/4713
-- 
1.7.5.4

From ae37e58fc84b724b26894b9426bfc74429635e85 Mon Sep 17 00:00:00 2001
From: August Sodora <augsod@gmail.com>
Date: Sat, 31 Dec 2011 17:22:09 -0500
Subject: [PATCH 3/4] clang: Fix cppunit warnings

---
 cppunit/cppunit.clang.patch |   10 ++++++++++
 cppunit/makefile.mk         |    2 +-
 2 files changed, 11 insertions(+), 1 deletions(-)
 create mode 100644 cppunit/cppunit.clang.patch

diff --git a/cppunit/cppunit.clang.patch b/cppunit/cppunit.clang.patch
new file mode 100644
index 0000000..512e3b2
--- /dev/null
+++ b/cppunit/cppunit.clang.patch
@@ -0,0 +1,10 @@
+--- misc/cppunit-1.12.1/include/cppunit/extensions/ExceptionTestCaseDecorator.h        2003-03-15 
03:55:28.000000000 -0500
++++ misc/build/cppunit-1.12.1/include/cppunit/extensions/ExceptionTestCaseDecorator.h  2011-12-31 
17:21:06.617770975 -0500
+@@ -94,6 +94,7 @@
+    */
+   virtual void checkException( ExpectedExceptionType &e )
+   {
++    (void)e;
+   }
+ };
+ 
diff --git a/cppunit/makefile.mk b/cppunit/makefile.mk
index 20addae..079dd61 100644
--- a/cppunit/makefile.mk
+++ b/cppunit/makefile.mk
@@ -34,7 +34,7 @@ TARFILE_MD5=bd30e9cf5523cdfc019b94f5e1d7fd19
     # from <https://sourceforge.net/projects/cppunit/files/cppunit/1.12.1/
     #  cppunit-1.12.1.tar.gz/download>
 
-PATCH_FILES = solarisfinite.patch warnings.patch windows.patch ldflags.patch aix.patch 
avoid-synthetised-destructor.patch ios.patch
+PATCH_FILES = cppunit.clang.patch solarisfinite.patch warnings.patch windows.patch ldflags.patch 
aix.patch avoid-synthetised-destructor.patch ios.patch
     # solarisfinite.patch: see <https://sourceforge.net/tracker/?func=detail&;
     #  aid=2912590&group_id=11795&atid=311795>
     # warnings.patch: see <https://sourceforge.net/tracker/?func=detail&;
-- 
1.7.5.4

From 4fd4d46006f9036b0504ec618c81c947bc26d8e6 Mon Sep 17 00:00:00 2001
From: August Sodora <augsod@gmail.com>
Date: Sat, 31 Dec 2011 19:13:32 -0500
Subject: [PATCH 4/4] clang: Fix build error in stlport (this can't be the
 right solution)

---
 stlport/STLport-4.5-clang.patch |   11 +++++++++++
 stlport/makefile.mk             |    1 +
 2 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 stlport/STLport-4.5-clang.patch

diff --git a/stlport/STLport-4.5-clang.patch b/stlport/STLport-4.5-clang.patch
new file mode 100644
index 0000000..ac18d54
--- /dev/null
+++ b/stlport/STLport-4.5-clang.patch
@@ -0,0 +1,11 @@
+--- misc/STLport-4.5/stlport/stl/_locale.h     2001-07-06 00:16:18.000000000 -0400
++++ misc/build/STLport-4.5/stlport/stl/_locale.h       2011-12-31 19:07:33.771039133 -0500
+@@ -120,7 +120,6 @@
+   locale(const locale& __loc, _Facet* __f) : _M_impl(0)
+     {
++      (void)__loc;
+-      //      _M_impl = this->_S_copy_impl(__loc._M_impl, __f != 0);
+-      new(this) locale(__loc._M_impl, __f != 0);
+       if (__f != 0)
+         this->_M_insert(__f, _Facet::id);
+     }
diff --git a/stlport/makefile.mk b/stlport/makefile.mk
index 9211a5e..b7ec139 100644
--- a/stlport/makefile.mk
+++ b/stlport/makefile.mk
@@ -47,6 +47,7 @@ all:
     TARFILE_NAME=STLport-4.5
     TARFILE_MD5=18f577b374d60b3c760a3a3350407632
     PATCH_FILES=\
+                STLport-4.5-clang.patch \
                 STLport-4.5.patch \
                 STLport-4.5-gcc43_warnings.patch \
                 STLport-4.5-cxx0x.patch
-- 
1.7.5.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.