Kaydet (Commit) d6146831 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

fdo#63378 Enable Impress Remote Dialog menu item for all view shells.

Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c
üst eba630ca
......@@ -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;
}
......
......@@ -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 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment