summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-27 18:20:14 +0200
committerAndrzej Hunt <andrzej.hunt@collabora.com>2014-06-30 07:45:23 +0200
commitd61468314bbfd2a79929b48e62d7e5ed354ab79b (patch)
tree9817dee2bc52431bb901eede5a8d7b452488728d /sd/source/ui/view
parenteba630ca1689d65d6f58c0e6bd7658cc6eac8dcc (diff)
fdo#63378 Enable Impress Remote Dialog menu item for all view shells.
Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/outlnvs2.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sd/source/ui/view/outlnvs2.cxx b/sd/source/ui/view/outlnvs2.cxx
index f916b8fe24d1..7ad626c01597 100644
--- a/sd/source/ui/view/outlnvs2.cxx
+++ b/sd/source/ui/view/outlnvs2.cxx
@@ -285,6 +285,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 ) );