css::uno::Reference can automatically up-cast now
follow-up to 8568c7226c
"tdf#66232: Cannot open
files by COM2"
Change-Id: I5a0858dd6f48136f9f07b0d04c5634a6173dd154
This commit is contained in:
parent
ab30dbe705
commit
fccf76ee8c
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue