Kaydet (Commit) 71569aef authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS warningfixes02 (1.8.10); FILE MERGED

2006/06/30 12:00:24 sb 1.8.10.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
üst 64141eb2
......@@ -4,9 +4,9 @@
*
* $RCSfile: XMLLineNumberingExport.cxx,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2006-06-19 18:42:41 $
* last change: $Author: kz $ $Date: 2006-07-19 16:37:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -178,7 +178,7 @@ void XMLLineNumberingExport::Export()
// NumeringType
OUStringBuffer sNumPosBuf;
aAny = xLineNumbering->getPropertyValue(sNumberingType);
sal_Int16 nFormat;
sal_Int16 nFormat = 0;
aAny >>= nFormat;
rExport.GetMM100UnitConverter().convertNumFormat( sNumPosBuf, nFormat );
rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT,
......@@ -193,7 +193,7 @@ void XMLLineNumberingExport::Export()
// number position
aAny = xLineNumbering->getPropertyValue(sNumberPosition);
sal_Int16 nPosition;
sal_Int16 nPosition = 0;
aAny >>= nPosition;
if (SvXMLUnitConverter::convertEnum(sNumPosBuf, nPosition,
aLineNumberPositionMap))
......@@ -204,7 +204,7 @@ void XMLLineNumberingExport::Export()
// sInterval
aAny = xLineNumbering->getPropertyValue(sInterval);
sal_Int16 nLineInterval;
sal_Int16 nLineInterval = 0;
aAny >>= nLineInterval;
OUStringBuffer sBuf;
SvXMLUnitConverter::convertNumber(sBuf,
......@@ -225,7 +225,7 @@ void XMLLineNumberingExport::Export()
// SeparatorInterval
aAny = xLineNumbering->getPropertyValue(sSeparatorInterval);
sal_Int16 nLineDistance;
sal_Int16 nLineDistance = 0;
aAny >>= nLineDistance;
SvXMLUnitConverter::convertNumber(sBuf,
(sal_Int32)nLineDistance);
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: XMLTextColumnsExport.cxx,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: hr $ $Date: 2006-06-19 18:45:26 $
* last change: $Author: kz $ $Date: 2006-07-19 16:39:37 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -154,7 +154,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny )
// style:height
aAny = xPropSet->getPropertyValue( sSeparatorLineRelativeHeight );
sal_Int8 nHeight;
sal_Int8 nHeight = 0;
aAny >>= nHeight;
GetExport().GetMM100UnitConverter().convertPercent( sValue,
nHeight );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment