summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-19 13:15:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-19 13:16:38 +0200
commit03a9f139bd9ea1a4f9096fc982e6b326def58532 (patch)
treebfb7a08bb4831a1a46b48c3bb49afa77ca436349 /sd
parentn#778828 testcase (diff)
downloadcore-03a9f139bd9ea1a4f9096fc982e6b326def58532.tar.gz
core-03a9f139bd9ea1a4f9096fc982e6b326def58532.zip
ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/ppt/pptin.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index b4366325e98d..acda309c46da 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -97,20 +97,11 @@
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
-#include <comphelper/processfactory.hxx>
-#include <comphelper/componentcontext.hxx>
#include <comphelper/string.hxx>
#include <oox/ole/olehelper.hxx>
using namespace ::com::sun::star;
-uno::Reference< uno::XComponentContext >
-lcl_getUnoCtx()
-{
- comphelper::ComponentContext aCtx( ::comphelper::getProcessServiceFactory() );
- return aCtx.getUNOContext();
-}
-
SdPPTImport::SdPPTImport( SdDrawDocument* pDocument, SvStream& rDocStream, SvStorage& rStorage, SfxMedium& rMedium )
{