| commit | 5a94ac9eec4a63708262b2389aa2a434aa47112e | [log] |
|---|---|---|
| author | Mike Kaganski <mike.kaganski@collabora.com> | Thu Mar 26 15:02:12 2020 +0100 |
| committer | Mike Kaganski <mike.kaganski@collabora.com> | Thu Mar 26 15:43:14 2020 +0100 |
| tree | ce9da447ae68b96cf34d79fe07a5abf417a05b84 | |
| parent | 637df9463d0d901616a5d588c71da84a99b9cb42 [diff] |
Drop intermediate temporary variable Change-Id: I8b8cc27a5589dcf7efeb9cd8ffcc3bbbeeef8bd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91117 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx index d703530a..9b1d838 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() )