diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-09 09:34:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-13 09:38:02 +0200 |
commit | 39ab9c4e4f4fb26326d8b1f08e4ef45cbe268cfb (patch) | |
tree | 1c5c9cef126dea40a572558e02388d23f84806ef | |
parent | a39c96af53ec3364de70012ebfa7c09c4a55a7c3 (diff) |
remove dead code
Change-Id: I501ad5d514fa9f33f92efa3756d2a7c7801bd45a
-rw-r--r-- | sc/source/filter/chart/chart_imp.cxx | 8 |
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(); |