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

Stephan Bergmann sbergman at redhat.com
Mon May 4 04:11:37 PDT 2015


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

New commits:
commit fccf76ee8c026d86225b75b0c1522578df858b60
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon May 4 13:09:38 2015 +0200

    css::uno::Reference can automatically up-cast now
    
    follow-up to 8568c7226cfb732e17fa42b365b9fce3a8264691 "tdf#66232: Cannot open
    files by COM2"
    
    Change-Id: I5a0858dd6f48136f9f07b0d04c5634a6173dd154

diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx
index 45a2dc8..f7a6a6a 100644
--- a/embedserv/source/embed/docholder.cxx
+++ b/embedserv/source/embed/docholder.cxx
@@ -363,7 +363,7 @@ HRESULT DocumentHolder::InPlaceActivate(
             LoadDocInFrame( sal_True );
 
             uno::Reference< frame::XDesktop2 > xDesktop = frame::Desktop::create(comphelper::getComponentContext(m_xFactory));
-            xDesktop->getFrames()->append( uno::Reference<frame::XFrame>(m_xFrame, uno::UNO_QUERY) );
+            xDesktop->getFrames()->append(m_xFrame);
 
             // determine the menuhandle to get menutitems.
             if(m_xLayoutManager.is()) {


More information about the Libreoffice-commits mailing list