summaryrefslogtreecommitdiff
path: root/cui/source/factory/dlgfact.cxx
diff options
context:
space:
mode:
authorYusuf Keten <ketenyusuf@gmail.com>2020-07-19 20:22:23 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-07-21 22:25:13 +0200
commit6e50e03262aa12921f108b502d3c76ce983d54f1 (patch)
treef39f736608778299607de1ab259c146cdeba6302 /cui/source/factory/dlgfact.cxx
parent0587c88e23b4d3d1a0504cd4c6cf1d51fa9ff498 (diff)
tdf#133026: Additions - Parameter support to UNO Command
After this patch, parameter support to uno command(.uno:AdditionsDialog) will be available. To use parameter, add "?AdditionsTag:string=YourParameter" to UNO command. Parameters are the tags of extensions on webpage. Change-Id: I0072c7340bda14ee13c21c347e06a04545cba69a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99007 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cui/source/factory/dlgfact.cxx')
-rw-r--r--cui/source/factory/dlgfact.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx
index a31e987202eb..d1cd0a14c9f5 100644
--- a/cui/source/factory/dlgfact.cxx
+++ b/cui/source/factory/dlgfact.cxx
@@ -1684,14 +1684,14 @@ VclPtr<AbstractQrCodeGenDialog> AbstractDialogFactory_Impl::CreateQrCodeGenDialo
}
VclPtr<AbstractAdditionsDialog> AbstractDialogFactory_Impl::CreateAdditionsDialog(
- weld::Window* pParent)
+ weld::Window* pParent, const OUString& sAdditionsTag)
{
#if HAVE_FEATURE_EXTENSIONS
return VclPtr<AbstractAdditionsDialog_Impl>::Create(
- std::make_unique<AdditionsDialog>(pParent));
+ std::make_unique<AdditionsDialog>(pParent, sAdditionsTag));
#else
(void) pParent;
- return VclPtr<AbstractAdditionsDialog>(nullptr);
+ return VclPtr<AbstractAdditionsDialog>(nullptr, sAdditionsTag);
#endif
}