diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-04 13:09:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-04 13:11:13 +0200 |
commit | fccf76ee8c026d86225b75b0c1522578df858b60 (patch) | |
tree | 26b5dfc10f2892d8c7f1cbb222046eb0813016e5 /embedserv | |
parent | ab30dbe70504213ae318baa88bf81e6eda99a429 (diff) |
css::uno::Reference can automatically up-cast now
follow-up to 8568c7226cfb732e17fa42b365b9fce3a8264691 "tdf#66232: Cannot open
files by COM2"
Change-Id: I5a0858dd6f48136f9f07b0d04c5634a6173dd154
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 45a2dc8bf1e2..f7a6a6afc4b7 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()) { |