summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextColumnsExport.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:38:21 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:38:21 +0000
commit63d3dad39dfd91fa5aa86565de237cc2290bd165 (patch)
treebe77b041d786b64117eea8ad48800d451ed94a85 /xmloff/source/text/XMLTextColumnsExport.cxx
parent8535cd7577f36cf71bef37d8ce805060ed9666a5 (diff)
INTEGRATION: CWS pj65 (1.10.30); FILE MERGED
2006/10/31 14:04:35 pjanik 1.10.30.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'xmloff/source/text/XMLTextColumnsExport.cxx')
-rw-r--r--xmloff/source/text/XMLTextColumnsExport.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLTextColumnsExport.cxx b/xmloff/source/text/XMLTextColumnsExport.cxx
index 941d021231e0..d4cfa7a211c1 100644
--- a/xmloff/source/text/XMLTextColumnsExport.cxx
+++ b/xmloff/source/text/XMLTextColumnsExport.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLTextColumnsExport.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 11:12:45 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:38:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -139,7 +139,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny )
{
// style:width
aAny = xPropSet->getPropertyValue( sSeparatorLineWidth );
- sal_Int32 nWidth;
+ sal_Int32 nWidth = 0;
aAny >>= nWidth;
GetExport().GetMM100UnitConverter().convertMeasure( sValue,
nWidth );
@@ -148,7 +148,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny )
// style:color
aAny = xPropSet->getPropertyValue( sSeparatorLineColor );
- sal_Int32 nColor;
+ sal_Int32 nColor = 0;
aAny >>= nColor;
GetExport().GetMM100UnitConverter().convertColor( sValue,
nColor );