summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport2.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:33:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:33:43 +0000
commit2687aba2f908fa9842639b219a11aefa0fcb7726 (patch)
treee570f26367fbb1e4ece24dcb2e99dff161472a64 /xmloff/source/draw/shapeexport2.cxx
parent1072a9a22a7dc8f87201475e8223457c46272213 (diff)
INTEGRATION: CWS pj65 (1.54.12); FILE MERGED
2006/10/31 14:02:40 pjanik 1.54.12.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmloff/source/draw/shapeexport2.cxx')
-rw-r--r--xmloff/source/draw/shapeexport2.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/draw/shapeexport2.cxx b/xmloff/source/draw/shapeexport2.cxx
index ee88b5e5a763..2fbe8c4ffe5b 100644
--- a/xmloff/source/draw/shapeexport2.cxx
+++ b/xmloff/source/draw/shapeexport2.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: shapeexport2.cxx,v $
*
- * $Revision: 1.55 $
+ * $Revision: 1.56 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 14:14:30 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:33:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -936,8 +936,8 @@ void XMLShapeExport::ImpExportEllipseShape(
if( eKind != drawing::CircleKind_FULL )
{
OUStringBuffer sStringBuffer;
- sal_Int32 nStartAngle;
- sal_Int32 nEndAngle;
+ sal_Int32 nStartAngle = 0;
+ sal_Int32 nEndAngle = 0;
xPropSet->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("CircleStartAngle")) ) >>= nStartAngle;
xPropSet->getPropertyValue( OUString(RTL_CONSTASCII_USTRINGPARAM("CircleEndAngle")) ) >>= nEndAngle;
@@ -1405,7 +1405,7 @@ void XMLShapeExport::ImpExportConnectorShape(
mrExport.AddAttribute(XML_NAMESPACE_DRAW, XML_START_SHAPE, rShapeId);
aAny = xProps->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("StartGluePointIndex")) );
- sal_Int32 nGluePointId;
+ sal_Int32 nGluePointId = 0;
if( aAny >>= nGluePointId )
{
if( nGluePointId != -1 )
@@ -1423,7 +1423,7 @@ void XMLShapeExport::ImpExportConnectorShape(
mrExport.AddAttribute(XML_NAMESPACE_DRAW, XML_END_SHAPE, rShapeId);
aAny = xProps->getPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("EndGluePointIndex")) );
- sal_Int32 nGluePointId;
+ sal_Int32 nGluePointId = 0;
if( aAny >>= nGluePointId )
{
if( nGluePointId != -1 )