diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-08 14:56:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-08 14:56:59 +0200 |
commit | 84373a71d6bbbbeeac0d29500ed717ffd906bac4 (patch) | |
tree | 45cadc8391b8efb83c71019b587bae887e9e8cec /embedserv | |
parent | 85c8252e13e9234253494f96ffd70df35be056dc (diff) |
fix windows build
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index e56f66f212b8..2d342706428c 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 |