summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/chart/chart_imp.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/sc/source/filter/chart/chart_imp.cxx b/sc/source/filter/chart/chart_imp.cxx
index 00975e7387a1..4dda833b6cdf 100644
--- a/sc/source/filter/chart/chart_imp.cxx
+++ b/sc/source/filter/chart/chart_imp.cxx
@@ -25,14 +25,6 @@ ScXMLChartExportWrapper::ScXMLChartExportWrapper( com::sun::star::uno::Reference
bool ScXMLChartExportWrapper::Export()
{
- uno::Reference<lang::XMultiServiceFactory> xServiceFactory(comphelper::getProcessServiceFactory());
- uno::Reference<uno::XComponentContext> xContext(comphelper::getProcessComponentContext());
- OSL_ENSURE( xServiceFactory.is(), "got no service manager" );
- if( !xServiceFactory.is() )
- return false;
-
- //uno::Reference<xml::sax::XWriter> xWriter = xml::sax::Writer::create(xContext);
-
if ( !mxStorage.is() )
mxStorage = mrMedium.GetOutputStorage();