diff options
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 322829ac152a..8bd95fb43ce8 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -3492,9 +3492,15 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_ADDITIONS_DIALOG: { + OUString sAdditionsTag = ""; + + const SfxStringItem* pStringArg = rReq.GetArg<SfxStringItem>(SID_ADDITIONS_TAG); + if (pStringArg) + sAdditionsTag = pStringArg->GetValue(); + VclAbstractDialogFactory* pFact = VclAbstractDialogFactory::Create(); ScopedVclPtr<AbstractAdditionsDialog> pDlg( - pFact->CreateAdditionsDialog(GetFrameWeld())); + pFact->CreateAdditionsDialog(GetFrameWeld(), sAdditionsTag)); pDlg->Execute(); Cancel(); rReq.Ignore (); |