summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-05 14:55:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-05 14:56:19 +0200
commit24391f605703bda1bcfa99ef06e5a73c6b52d267 (patch)
tree3a4cf9732c8a8c82b56cdc038e5dfda857cdc518 /ucb
parent1c7a54e3a14ad932e68b9281420e6c469e5dd2e5 (diff)
Some clean up of previous commit
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx5
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.hxx4
2 files changed, 4 insertions, 5 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index c0040cd98693..c3a94836d76a 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -702,9 +702,8 @@ bool OfficeDocumentsManager::isBasicIDE(
{
try
{
- m_xModuleMgr = uno::Reference< frame::XModuleManager >(
- frame::ModuleManager::create(comphelper::ComponentContext(m_xSMgr).getUNOContext()),
- uno::UNO_QUERY );
+ m_xModuleMgr = frame::ModuleManager::create(
+ comphelper::ComponentContext(m_xSMgr).getUNOContext());
}
catch ( uno::Exception const & )
{
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index 9b40fe323d10..ff1a07e885fe 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -39,7 +39,7 @@
#include "com/sun/star/document/XEventListener.hpp"
#include "com/sun/star/embed/XStorage.hpp"
#include "com/sun/star/frame/XModel.hpp"
-#include "com/sun/star/frame/XModuleManager.hpp"
+#include "com/sun/star/frame/XModuleManager2.hpp"
#include "com/sun/star/util/XCloseListener.hpp"
namespace tdoc_ucp {
@@ -197,7 +197,7 @@ namespace tdoc_ucp {
com::sun::star::uno::Reference<
com::sun::star::document::XEventBroadcaster > m_xDocEvtNotifier;
com::sun::star::uno::Reference<
- com::sun::star::frame::XModuleManager > m_xModuleMgr;
+ com::sun::star::frame::XModuleManager2 > m_xModuleMgr;
DocumentList m_aDocs;
OfficeDocumentsEventListener * m_pDocEventListener;
com::sun::star::uno::Reference<