[Libreoffice-commits] core.git: embedserv/source

Noel Grandin noel at peralex.com
Mon Apr 8 06:25:12 PDT 2013


 embedserv/source/embed/docholder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d95fb607c2ac9b04bdfa9d7a79248229dba6f769
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Apr 8 15:24:17 2013 +0200

    fix windows build

diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index 2d34270..488451e 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -776,7 +776,7 @@ uno::Reference< frame::XFrame2 > DocumentHolder::DocumentFrame()
         // is loaded into the frame in ::show() method the terminate listener will be removed
         // this is so only for outplace activation
         if( xFrame.is() )
-            m_xFrame = xFrame->findFrame( OUString("_blank"), 0 );
+            m_xFrame.set( xFrame->findFrame( OUString("_blank"), 0 ), uno::UNO_QUERY_THROW );
 
         uno::Reference< util::XCloseBroadcaster > xBroadcaster(
             m_xFrame, uno::UNO_QUERY );


More information about the Libreoffice-commits mailing list