diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-04 04:06:49 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-04-04 04:15:23 +0200 |
commit | 1b15733a87462f7075190e5344e6d8e0b46345ca (patch) | |
tree | c9a7d0063209112287a817effbb8dd4de2788807 | |
parent | 78f4ed104c832b4aa1ae2d8d367f1db7de486065 (diff) |
document when we are going to create invalid OOXML documents
That makes my life so much easier when I need to debug where we screw
up.
Change-Id: Ia0b54eef47a06c43e3d0ba66b909e398e02a6d0e
-rw-r--r-- | sc/source/filter/excel/xelink.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx index f9e22a7e5a5c..454c918bdc14 100644 --- a/sc/source/filter/excel/xelink.cxx +++ b/sc/source/filter/excel/xelink.cxx @@ -1390,7 +1390,10 @@ void XclExpXct::SaveXml( XclExpXmlStream& rStrm ) { XclExpCrnList aCrnRecs; if (!BuildCrnList( aCrnRecs)) + { + SAL_WARN("sc", "generating invalid OOXML files: sheetDataSet without sheetData child element"); return; + } sax_fastparser::FSHelperPtr pFS = rStrm.GetCurrentStream(); |