summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLExport.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-14 02:49:19 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-17 08:13:49 +0100
commitbd78139dcbf804e6e0b8be5409436991ac08b36c (patch)
tree30005e561fa830e7e429f94ed4b42a1873008f7b /xmloff/source/chart/SchXMLExport.cxx
parentcc2bfd18fdf3ffd640d9284f23b5054535211b07 (diff)
remove element that was only written for binary formats
Change-Id: Ic930fc6e12912ead8d6b1daa79894c968d99d988
Diffstat (limited to 'xmloff/source/chart/SchXMLExport.cxx')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 6c369acc9683..500a80eae493 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1927,31 +1927,6 @@ void SchXMLExportHelper_Impl::exportPlotArea(
}
}
- // #i72973#, #144135# only export table-number-list in OOo format (also for binary)
- Reference< beans::XPropertySet > xExportInfo( mrExport.getExportInfo());
- if( !msTableNumberList.isEmpty() && xExportInfo.is())
- {
- try
- {
- OUString sExportTableNumListPropName( "ExportTableNumberList");
- Reference< beans::XPropertySetInfo > xInfo( xExportInfo->getPropertySetInfo());
- bool bExportTableNumberList = false;
- if( xInfo.is() && xInfo->hasPropertyByName( sExportTableNumListPropName ) &&
- (xExportInfo->getPropertyValue( sExportTableNumListPropName ) >>= bExportTableNumberList) &&
- bExportTableNumberList )
- {
- // this attribute is for charts embedded in calc documents only.
- // With this you are able to store a file again in 5.0 binary format
- mrExport.AddAttribute( XML_NAMESPACE_CHART, XML_TABLE_NUMBER_LIST, msTableNumberList );
- }
- }
- catch( const uno::Exception & rEx )
- {
- OString aBStr(OUStringToOString(rEx.Message, RTL_TEXTENCODING_ASCII_US));
- SAL_INFO("xmloff.chart", "chart:TableNumberList property caught: " << aBStr );
- }
- }
-
// attributes
Reference< drawing::XShape > xShape ( xDiagram, uno::UNO_QUERY );
if( xShape.is())