summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:42:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:42:41 +0000
commitb2baaff1657e89329e3bbd1771d46c190a9c129c (patch)
tree31cabf5d2e7225b169f58540cac524582fed1713 /xmloff/source
parent18d8c19eff4adc25ff40ebd84dabb2611b4bae1d (diff)
INTEGRATION: CWS warnings01 (1.7.34); FILE MERGED
2005/11/17 15:19:23 pl 1.7.34.2: #i55991# removed warnings 2005/11/03 17:47:09 cl 1.7.34.1: warning free code changes for unxlngi6
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/XMLLineNumberingExport.cxx31
1 files changed, 15 insertions, 16 deletions
diff --git a/xmloff/source/text/XMLLineNumberingExport.cxx b/xmloff/source/text/XMLLineNumberingExport.cxx
index e0779fe6fe8d..f45e5636e6d7 100644
--- a/xmloff/source/text/XMLLineNumberingExport.cxx
+++ b/xmloff/source/text/XMLLineNumberingExport.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLLineNumberingExport.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 15:13:37 $
+ * last change: $Author: hr $ $Date: 2006-06-19 18:42:41 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -80,19 +80,19 @@ using ::com::sun::star::beans::XPropertySet;
using ::com::sun::star::text::XLineNumberingProperties;
-XMLLineNumberingExport::XMLLineNumberingExport(SvXMLExport& rExp) :
- rExport(rExp),
- sCharStyleName(RTL_CONSTASCII_USTRINGPARAM("CharStyleName")),
- sCountEmptyLines(RTL_CONSTASCII_USTRINGPARAM("CountEmptyLines")),
- sCountLinesInFrames(RTL_CONSTASCII_USTRINGPARAM("CountLinesInFrames")),
- sDistance(RTL_CONSTASCII_USTRINGPARAM("Distance")),
- sInterval(RTL_CONSTASCII_USTRINGPARAM("Interval")),
- sSeparatorText(RTL_CONSTASCII_USTRINGPARAM("SeparatorText")),
- sNumberPosition(RTL_CONSTASCII_USTRINGPARAM("NumberPosition")),
- sNumberingType(RTL_CONSTASCII_USTRINGPARAM("NumberingType")),
- sIsOn(RTL_CONSTASCII_USTRINGPARAM("IsOn")),
- sRestartAtEachPage(RTL_CONSTASCII_USTRINGPARAM("RestartAtEachPage")),
- sSeparatorInterval(RTL_CONSTASCII_USTRINGPARAM("SeparatorInterval"))
+XMLLineNumberingExport::XMLLineNumberingExport(SvXMLExport& rExp)
+: sCharStyleName(RTL_CONSTASCII_USTRINGPARAM("CharStyleName"))
+, sCountEmptyLines(RTL_CONSTASCII_USTRINGPARAM("CountEmptyLines"))
+, sCountLinesInFrames(RTL_CONSTASCII_USTRINGPARAM("CountLinesInFrames"))
+, sDistance(RTL_CONSTASCII_USTRINGPARAM("Distance"))
+, sInterval(RTL_CONSTASCII_USTRINGPARAM("Interval"))
+, sSeparatorText(RTL_CONSTASCII_USTRINGPARAM("SeparatorText"))
+, sNumberPosition(RTL_CONSTASCII_USTRINGPARAM("NumberPosition"))
+, sNumberingType(RTL_CONSTASCII_USTRINGPARAM("NumberingType"))
+, sIsOn(RTL_CONSTASCII_USTRINGPARAM("IsOn"))
+, sRestartAtEachPage(RTL_CONSTASCII_USTRINGPARAM("RestartAtEachPage"))
+, sSeparatorInterval(RTL_CONSTASCII_USTRINGPARAM("SeparatorInterval"))
+, rExport(rExp)
{
}
@@ -227,7 +227,6 @@ void XMLLineNumberingExport::Export()
aAny = xLineNumbering->getPropertyValue(sSeparatorInterval);
sal_Int16 nLineDistance;
aAny >>= nLineDistance;
- OUStringBuffer sBuf;
SvXMLUnitConverter::convertNumber(sBuf,
(sal_Int32)nLineDistance);
rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_INCREMENT,