fdo#63378 Enable Impress Remote Dialog menu item for all view shells.
Change-Id: I47f040c1463b4be648d411c2f7f0070b8aed3e9c
This commit is contained in:
@@ -276,6 +276,19 @@ void SlotManager::FuTemporary (SfxRequest& rRequest)
|
|||||||
}
|
}
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@@ -285,6 +285,17 @@ void OutlineViewShell::FuTemporary(SfxRequest &rReq)
|
|||||||
}
|
}
|
||||||
break;
|
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:
|
case SID_CUSTOMSHOW_DLG:
|
||||||
{
|
{
|
||||||
SetCurrentFunction( FuCustomShowDlg::Create( this, GetActiveWindow(), pOlView, GetDoc(), rReq ) );
|
SetCurrentFunction( FuCustomShowDlg::Create( this, GetActiveWindow(), pOlView, GetDoc(), rReq ) );
|
||||||
|
Reference in New Issue
Block a user