diff options
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSlotManager.cxx | 13 | ||||
-rw-r--r-- | sd/source/ui/view/outlnvs2.cxx | 11 |
2 files changed, 24 insertions, 0 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 519436020113..9bf97ee54667 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -276,6 +276,19 @@ void SlotManager::FuTemporary (SfxRequest& rRequest) } break; + case SID_REMOTE_DLG: + { +#ifdef ENABLE_SDREMOTE + SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create(); + VclAbstractDialog* pDlg = pFact ? + pFact->CreateRemoteDialog( mrSlideSorter.GetContentWindow().get() ) : + 0; + if (pDlg) + pDlg->Execute(); +#endif + } + break; + default: break; } 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 ) ); |