diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/sdi/tabvwsh.sdi | 1 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshb.cxx | 20 |
2 files changed, 0 insertions, 21 deletions
diff --git a/sc/sdi/tabvwsh.sdi b/sc/sdi/tabvwsh.sdi index 7130ff4cabd8..cfdc827b2423 100644 --- a/sc/sdi/tabvwsh.sdi +++ b/sc/sdi/tabvwsh.sdi @@ -62,7 +62,6 @@ interface BaseSelection SID_INSERT_QRCODE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ] SID_EDIT_QRCODE [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ] - SID_ADDITIONS_DIALOG [ ExecMethod = ExecDrawIns; StateMethod = GetDrawInsState; ] SID_IMAP [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ] SID_IMAP_EXEC [ ExecMethod = ExecImageMap; StateMethod = GetImageMapState; ] diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index a4204f57e767..0a174df6d84b 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -466,26 +466,6 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq) break; } - case SID_ADDITIONS_DIALOG: - { - OUString sAdditionsTag = u""_ustr; - - const SfxStringItem* pStringArg = rReq.GetArg<SfxStringItem>(FN_PARAM_ADDITIONS_TAG); - if (pStringArg) - sAdditionsTag = pStringArg->GetValue(); - - VclAbstractDialogFactory* pFact = VclAbstractDialogFactory::Create(); - VclPtr<AbstractAdditionsDialog> pDialog( - pFact->CreateAdditionsDialog(pWin->GetFrameWeld(), sAdditionsTag)); - pDialog->StartExecuteAsync( - [pDialog] (sal_Int32 /*nResult*/)->void - { - pDialog->disposeOnce(); - } - ); - break; - } - case SID_OBJECTRESIZE: { // the server would like to change the client size |