From 5e2bd2bb4c1a2f8a5467009b4ab7007401a14446 Mon Sep 17 00:00:00 2001 From: Rashesh Date: Thu, 26 Sep 2024 16:39:55 +0530 Subject: cool#10115 sc: enable ScPosWnd for lokit with jsdialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I18829c48a2495e3aa31af83970c8c1c4791a170a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173987 Tested-by: Jenkins CollaboraOffice Reviewed-by: Szymon Kłos (cherry picked from commit 9ffc274bbc414d1e98313af804386861beeff9bf) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177645 Tested-by: Jenkins --- vcl/jsdialog/jsdialogbuilder.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'vcl/jsdialog/jsdialogbuilder.cxx') 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::CreateAddressInputBuilder(vcl::Window* pParent, const OUString& rUIRoot, + const OUString& rUIFile, sal_uInt64 nLOKWindowId) +{ + return std::make_unique(nullptr, pParent, rUIRoot, rUIFile, + JSInstanceBuilder::Type::Formulabar, nLOKWindowId, + u"addressinputfield"); +} + JSInstanceBuilder::~JSInstanceBuilder() { // tab page closed -> refresh parent window -- cgit