summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xeescher.cxx
diff options
context:
space:
mode:
authorMuthu Subramanian K <sumuthu@novell.com>2010-10-29 13:51:55 +0530
committerMuthu Subramanian K <sumuthu@novell.com>2010-10-29 13:54:21 +0530
commitb25ab5aef6f68beccb7e5dd362d2eaf54cb43e23 (patch)
treebfea5d3fd13fe1a91e5b52a4e8092498e96c9e19 /sc/source/filter/excel/xeescher.cxx
parent5e56dc2da031706e6a6d67306e3bcae3faf01ae9 (diff)
Disabling commentPr export - since MSO is yet to support this.
Diffstat (limited to 'sc/source/filter/excel/xeescher.cxx')
-rw-r--r--sc/source/filter/excel/xeescher.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 440d9a5df984..43abdbec64b8 100644
--- a/sc/source/filter/excel/xeescher.cxx
+++ b/sc/source/filter/excel/xeescher.cxx
@@ -1050,7 +1050,6 @@ void XclExpTbxControlObj::WriteSbs( XclExpStream& rStrm )
#endif
-
// ----------------------------------------------------------------------------
XclExpChartObj::XclExpChartObj( XclExpObjectManager& rObjMgr, Reference< XShape > xShape, const Rectangle* pChildAnchor ) :
@@ -1335,7 +1334,6 @@ void XclExpNote::Save( XclExpStream& rStrm )
}
}
-
void XclExpNote::WriteBody( XclExpStream& rStrm )
{
// BIFF5/BIFF7 is written separately
@@ -1373,6 +1371,11 @@ void XclExpNote::WriteXml( sal_Int32 nAuthorId, XclExpXmlStream& rStrm )
#endif
rComments->endElement( XML_text );
+/*
+ Export of commentPr is disabled, since the current (Oct 2010)
+ version of MSO 2010 doesn't yet support commentPr
+ */
+#ifdef XLSX_OOXML_FUTURE
if( rStrm.getVersion() == oox::core::ISOIEC_29500_2008 )
{
rComments->startElement( XML_commentPr,
@@ -1399,6 +1402,7 @@ void XclExpNote::WriteXml( sal_Int32 nAuthorId, XclExpXmlStream& rStrm )
rComments->endElement( XML_anchor );
rComments->endElement( XML_commentPr );
}
+#endif
rComments->endElement( XML_comment );
}