[Libreoffice-commits] .: sc/source

Muthu Subramanian sumuthu at kemper.freedesktop.org
Fri Oct 29 01:40:46 PDT 2010


 sc/source/filter/excel/xeescher.cxx |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 246c6b2c1ff8f2d14225438fa2f32386037820f8
Author: Muthu Subramanian K <sumuthu at novell.com>
Date:   Fri Oct 29 13:51:55 2010 +0530

    Disabling commentPr export - since MSO is yet to support this.

diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 440d9a5..43abdbe 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 );
 }
 


More information about the Libreoffice-commits mailing list