From 62afc8fcaa527daa1f762ed7f27bcf71be3640c6 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Fri, 27 Jun 2014 18:20:14 +0200 Subject: fdo#63378 Enable Impress Remote Dialog menu item for all view shells. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c (cherry picked from commit d61468314bbfd2a79929b48e62d7e5ed354ab79b) Reviewed-on: https://gerrit.libreoffice.org/9975 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sd/source/ui/view/outlnvs2.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sd/source/ui/view') diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx index 9b88288176ad..99b10927a18c 100644 --- a/sd/source/ui/view/outlnvs2.cxx +++ b/sd/source/ui/view/outlnvs2.cxx @@ -287,6 +287,17 @@ void OutlineViewShell::FuTemporary(SfxRequest &rReq) } break; + case SID_REMOTE_DLG: + { +#ifdef ENABLE_SDREMOTE + SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create(); + VclAbstractDialog* pDlg = pFact ? pFact->CreateRemoteDialog(GetActiveWindow()) : 0; + if (pDlg) + pDlg->Execute(); +#endif + } + break; + case SID_CUSTOMSHOW_DLG: { SetCurrentFunction( FuCustomShowDlg::Create( this, GetActiveWindow(), pOlView, GetDoc(), rReq ) ); -- cgit v1.2.1