diff options
Diffstat (limited to 'sfx2/source/view/sfxbasecontroller.cxx')
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index d143685d7c4b..7819b96488c1 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -721,7 +721,7 @@ Reference< frame::XDispatch > SAL_CALL SfxBaseController::queryDispatch( const Reference< frame::XFrame > xParentFrame; Reference< frame::XFrame > xOwnFrame = pAct->GetFrame().GetFrameInterface(); if ( xOwnFrame.is() ) - xParentFrame.set( xOwnFrame->getCreator(), uno::UNO_QUERY ); + xParentFrame = xOwnFrame->getCreator(); if ( xParentFrame.is() ) { @@ -778,7 +778,7 @@ Reference< frame::XDispatch > SAL_CALL SfxBaseController::queryDispatch( const Reference< frame::XFrame > xParentFrame; Reference< frame::XFrame > xOwnFrame = pAct->GetFrame().GetFrameInterface(); if ( xOwnFrame.is() ) - xParentFrame.set( xOwnFrame->getCreator(), uno::UNO_QUERY ); + xParentFrame = xOwnFrame->getCreator(); if ( xParentFrame.is() ) { |