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 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: XMLLineNumberingExport.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -178,7 +178,7 @@ void XMLLineNumberingExport::Export() ...@@ -178,7 +178,7 @@ void XMLLineNumberingExport::Export()
// NumeringType // NumeringType
OUStringBuffer sNumPosBuf; OUStringBuffer sNumPosBuf;
aAny = xLineNumbering->getPropertyValue(sNumberingType); aAny = xLineNumbering->getPropertyValue(sNumberingType);
sal_Int16 nFormat; sal_Int16 nFormat = 0;
aAny >>= nFormat; aAny >>= nFormat;
rExport.GetMM100UnitConverter().convertNumFormat( sNumPosBuf, nFormat ); rExport.GetMM100UnitConverter().convertNumFormat( sNumPosBuf, nFormat );
rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT, rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT,
...@@ -193,7 +193,7 @@ void XMLLineNumberingExport::Export() ...@@ -193,7 +193,7 @@ void XMLLineNumberingExport::Export()
// number position // number position
aAny = xLineNumbering->getPropertyValue(sNumberPosition); aAny = xLineNumbering->getPropertyValue(sNumberPosition);
sal_Int16 nPosition; sal_Int16 nPosition = 0;
aAny >>= nPosition; aAny >>= nPosition;
if (SvXMLUnitConverter::convertEnum(sNumPosBuf, nPosition, if (SvXMLUnitConverter::convertEnum(sNumPosBuf, nPosition,
aLineNumberPositionMap)) aLineNumberPositionMap))
...@@ -204,7 +204,7 @@ void XMLLineNumberingExport::Export() ...@@ -204,7 +204,7 @@ void XMLLineNumberingExport::Export()
// sInterval // sInterval
aAny = xLineNumbering->getPropertyValue(sInterval); aAny = xLineNumbering->getPropertyValue(sInterval);
sal_Int16 nLineInterval; sal_Int16 nLineInterval = 0;
aAny >>= nLineInterval; aAny >>= nLineInterval;
OUStringBuffer sBuf; OUStringBuffer sBuf;
SvXMLUnitConverter::convertNumber(sBuf, SvXMLUnitConverter::convertNumber(sBuf,
...@@ -225,7 +225,7 @@ void XMLLineNumberingExport::Export() ...@@ -225,7 +225,7 @@ void XMLLineNumberingExport::Export()
// SeparatorInterval // SeparatorInterval
aAny = xLineNumbering->getPropertyValue(sSeparatorInterval); aAny = xLineNumbering->getPropertyValue(sSeparatorInterval);
sal_Int16 nLineDistance; sal_Int16 nLineDistance = 0;
aAny >>= nLineDistance; aAny >>= nLineDistance;
SvXMLUnitConverter::convertNumber(sBuf, SvXMLUnitConverter::convertNumber(sBuf,
(sal_Int32)nLineDistance); (sal_Int32)nLineDistance);
......
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: XMLTextColumnsExport.cxx,v $ * $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 Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -154,7 +154,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny ) ...@@ -154,7 +154,7 @@ void XMLTextColumnsExport::exportXML( const Any& rAny )
// style:height // style:height
aAny = xPropSet->getPropertyValue( sSeparatorLineRelativeHeight ); aAny = xPropSet->getPropertyValue( sSeparatorLineRelativeHeight );
sal_Int8 nHeight; sal_Int8 nHeight = 0;
aAny >>= nHeight; aAny >>= nHeight;
GetExport().GetMM100UnitConverter().convertPercent( sValue, GetExport().GetMM100UnitConverter().convertPercent( sValue,
nHeight ); 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