[Libreoffice-commits] core.git: embedserv/source
Noel Grandin
noel at peralex.com
Mon Apr 8 05:57:32 PDT 2013
embedserv/source/embed/docholder.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 84373a71d6bbbbeeac0d29500ed717ffd906bac4
Author: Noel Grandin <noel at peralex.com>
Date: Mon Apr 8 14:56:27 2013 +0200
fix windows build
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index e56f66f..2d34270 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -349,12 +349,12 @@ HRESULT DocumentHolder::InPlaceActivate(
m_xFrame->activate();
else {
// create frame and initialize it with with the created window
- m_xFrame = frame::Frame::create( m_xFactory );
+ m_xFrame = frame::Frame::create( comphelper::getComponentContext(m_xFactory) );
m_xFrame->initialize(m_xEditWindow);
m_xFrame->registerDispatchProviderInterceptor( CreateNewInterceptor() );
- m_xLayoutManager.set( m_xFrame->getLayoutManager(), UNO_QUERY_THROW );
+ m_xLayoutManager.set( m_xFrame->getLayoutManager(), uno::UNO_QUERY_THROW );
if(m_xLayoutManager.is())
m_xLayoutManager->setDockingAreaAcceptor(this);
@@ -770,7 +770,7 @@ uno::Reference< frame::XFrame2 > DocumentHolder::DocumentFrame()
{
uno::Reference<frame::XDesktop2> xDesktop = frame::Desktop::create(comphelper::getComponentContext(m_xFactory));
- uno::Reference<frame::XFrame> xFrame(xDesktop,uno::UNO_QUERY);
+ uno::Reference<frame::XFrame2> xFrame(xDesktop,uno::UNO_QUERY);
// the frame will be registered on desktop here, later when the document
// is loaded into the frame in ::show() method the terminate listener will be removed
More information about the Libreoffice-commits
mailing list