sfx2/source/control/dispatch.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 5a94ac9eec4a63708262b2389aa2a434aa47112e Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Thu Mar 26 15:02:12 2020 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Thu Mar 26 15:43:14 2020 +0100 Drop intermediate temporary variable Change-Id: I8b8cc27a5589dcf7efeb9cd8ffcc3bbbeeef8bd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91117 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index d703530ad23c..9b1d83891fae 100644 --- a/sfx2/source/control/dispatch.cxx +++ b/sfx2/source/control/dispatch.cxx @@ -219,11 +219,8 @@ void SfxDispatcher::Call_Impl(SfxShell& rShell, const SfxSlot &rSlot, SfxRequest if ( GetFrame() ) { // Recording may start - css::uno::Reference< css::frame::XFrame > xFrame = - GetFrame()->GetFrame().GetFrameInterface(); - css::uno::Reference< css::beans::XPropertySet > xSet( - xFrame, + GetFrame()->GetFrame().GetFrameInterface(), css::uno::UNO_QUERY); if ( xSet.is() ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits