diff options
author | Rashesh <rashesh.padia@collabora.com> | 2024-09-26 16:39:55 +0530 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2024-12-20 21:29:52 +0100 |
commit | 5e2bd2bb4c1a2f8a5467009b4ab7007401a14446 (patch) | |
tree | 545aa0a60f0cbca1ad6b6c3453eaa436e95893f8 /vcl/jsdialog/jsdialogbuilder.cxx | |
parent | 4a584493db8b920637b664459e7519b6eef458a4 (diff) |
cool#10115 sc: enable ScPosWnd for lokit with jsdialog
Change-Id: I18829c48a2495e3aa31af83970c8c1c4791a170a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173987
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
(cherry picked from commit 9ffc274bbc414d1e98313af804386861beeff9bf)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177645
Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog/jsdialogbuilder.cxx')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index f4c0c60073e1..2d1c614e1d0c 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -356,6 +356,15 @@ JSInstanceBuilder::CreateFormulabarBuilder(vcl::Window* pParent, const OUString& u"formulabar"); } +std::unique_ptr<JSInstanceBuilder> +JSInstanceBuilder::CreateAddressInputBuilder(vcl::Window* pParent, const OUString& rUIRoot, + const OUString& rUIFile, sal_uInt64 nLOKWindowId) +{ + return std::make_unique<JSInstanceBuilder>(nullptr, pParent, rUIRoot, rUIFile, + JSInstanceBuilder::Type::Formulabar, nLOKWindowId, + u"addressinputfield"); +} + JSInstanceBuilder::~JSInstanceBuilder() { // tab page closed -> refresh parent window |