summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLSectionFootnoteConfigExport.cxx')
-rw-r--r--xmloff/source/text/XMLSectionFootnoteConfigExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
index 048e8b7ab7dd..6e1c06319110 100644
--- a/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
+++ b/xmloff/source/text/XMLSectionFootnoteConfigExport.cxx
@@ -131,7 +131,6 @@ void XMLSectionFootnoteConfigExport::exportXML(
GetXMLToken( bEndnote ? XML_ENDNOTE
: XML_FOOTNOTE ) );
// start numbering
- OUStringBuffer sBuf;
if (bNumRestart)
{
// restart number is stored as 0.., but interpreted as 1..
@@ -154,6 +153,7 @@ void XMLSectionFootnoteConfigExport::exportXML(
}
// number type: num format
+ OUStringBuffer sBuf;
rExport.GetMM100UnitConverter().convertNumFormat( sBuf,
nNumberingType );
rExport.AddAttribute(XML_NAMESPACE_STYLE, XML_NUM_FORMAT,