summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-30 06:50:50 +0100
committerEike Rathke <erack@redhat.com>2013-12-04 04:58:03 -0600
commit99643319b62c3673b57f31d61a4619625747a444 (patch)
treef0726895582679ce724d0f8e41b5b771bd191192 /sc
parentd4a709cbf4710555b1518816f1eaa9b43dc5cae7 (diff)
write valid dxf record, related fdo#71971
Change-Id: I99f4dfca78cc0fd5d9b947000a99f8414c2a899b (cherry picked from commit 7415fc31f5cdf7ff3f78dd304b9576b931a82aeb) Reviewed-on: https://gerrit.libreoffice.org/6878 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestyle.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 3186cdabd927..486481a710fb 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -3021,18 +3021,18 @@ void XclExpDxf::SaveXml( XclExpXmlStream& rStrm )
sax_fastparser::FSHelperPtr& rStyleSheet = rStrm.GetCurrentStream();
rStyleSheet->startElement( XML_dxf, FSEND );
- if (mpAlign)
- mpAlign->SaveXml(rStrm);
- if (mpBorder)
- mpBorder->SaveXml(rStrm);
if (mpFont)
mpFont->SaveXml(rStrm);
if (mpNumberFmt)
mpNumberFmt->SaveXml(rStrm);
- if (mpProt)
- mpProt->SaveXml(rStrm);
if (mpColor)
mpColor->SaveXml(rStrm);
+ if (mpAlign)
+ mpAlign->SaveXml(rStrm);
+ if (mpBorder)
+ mpBorder->SaveXml(rStrm);
+ if (mpProt)
+ mpProt->SaveXml(rStrm);
rStyleSheet->endElement( XML_dxf );
}