diff options
author | Noel Grandin <noel@peralex.com> | 2013-01-02 14:43:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-01-09 08:08:09 +0200 |
commit | 42adbfccad151a29e56ea1ed8eeb323cd4b7dae4 (patch) | |
tree | 258e83a20a67af2703036d83cae76a9dd8723030 /embeddedobj/source/commonembedding | |
parent | remove workdir too (diff) | |
download | core-42adbfccad151a29e56ea1ed8eeb323cd4b7dae4.tar.gz core-42adbfccad151a29e56ea1ed8eeb323cd4b7dae4.zip |
fdo#46808, Adapt embed::HatchWindowFactory UNO service to new style
The service already existed, it just did not have an IDL file.
Change-Id: If00396effd92ed72ea942da5eb1fe60b6380c665
Diffstat (limited to 'embeddedobj/source/commonembedding')
-rw-r--r-- | embeddedobj/source/commonembedding/miscobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx index 2946d7fc3537..508883d333f0 100644 --- a/embeddedobj/source/commonembedding/miscobj.cxx +++ b/embeddedobj/source/commonembedding/miscobj.cxx @@ -29,6 +29,7 @@ #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/interfacecontainer.h> #include <comphelper/mimeconfighelper.hxx> +#include <comphelper/processfactory.hxx> #include "closepreventer.hxx" #include "intercept.hxx" @@ -98,7 +99,7 @@ void OCommonEmbeddedObject::CommonInit_Impl( const uno::Sequence< beans::NamedVa if ( !m_xFactory.is() ) throw uno::RuntimeException(); - m_pDocHolder = new DocumentHolder( m_xFactory, this ); + m_pDocHolder = new DocumentHolder( comphelper::getComponentContext(m_xFactory), this ); m_pDocHolder->acquire(); // parse configuration entries |