fdo#63378 Enable Impress Remote Dialog menu item for all view shells.
Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c
This commit is contained in:
parent
eba630ca16
commit
d61468314b
@ -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 ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user