Kaydet (Commit) b1a4b052 authored tarafından Hans-Joachim Lankenau's avatar Hans-Joachim Lankenau

INTEGRATION: CWS swqbugfixes01 (1.6.236); FILE MERGED

2004/06/03 12:31:55 dvo 1.6.236.1: #i25947# adapt level attribute to new zero-based API
üst ef255746
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: XMLIndexMarkExport.cxx,v $ * $RCSfile: XMLIndexMarkExport.cxx,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change: $Author: hr $ $Date: 2003-03-27 18:20:38 $ * last change: $Author: hjs $ $Date: 2004-06-28 13:03:40 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -250,7 +250,7 @@ void XMLIndexMarkExport::ExportTOCMarkAttributes( ...@@ -250,7 +250,7 @@ void XMLIndexMarkExport::ExportTOCMarkAttributes(
Any aAny = rPropSet->getPropertyValue(sLevel); Any aAny = rPropSet->getPropertyValue(sLevel);
aAny >>= nLevel; aAny >>= nLevel;
OUStringBuffer sBuf; OUStringBuffer sBuf;
SvXMLUnitConverter::convertNumber(sBuf, (sal_Int32)nLevel); SvXMLUnitConverter::convertNumber(sBuf, (sal_Int32)nLevel + 1);
rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_OUTLINE_LEVEL, rExport.AddAttribute(XML_NAMESPACE_TEXT, XML_OUTLINE_LEVEL,
sBuf.makeStringAndClear()); sBuf.makeStringAndClear());
} }
......
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