summaryrefslogtreecommitdiff
path: root/vcl/jsdialog/enabled.cxx
diff options
context:
space:
mode:
authorRashesh <rashesh.padia@collabora.com>2024-09-26 16:39:55 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2024-12-20 21:29:52 +0100
commit5e2bd2bb4c1a2f8a5467009b4ab7007401a14446 (patch)
tree545aa0a60f0cbca1ad6b6c3453eaa436e95893f8 /vcl/jsdialog/enabled.cxx
parent4a584493db8b920637b664459e7519b6eef458a4 (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/enabled.cxx')
-rw-r--r--vcl/jsdialog/enabled.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcl/jsdialog/enabled.cxx b/vcl/jsdialog/enabled.cxx
index cba8047ffd3d..5e25a9977518 100644
--- a/vcl/jsdialog/enabled.cxx
+++ b/vcl/jsdialog/enabled.cxx
@@ -422,6 +422,20 @@ bool isInterimBuilderEnabledForNotebookbar(std::u16string_view rUIFile)
return false;
}
+
+bool isBuilderEnabledForAddressInput(std::u16string_view rUIFile)
+{
+ if (rUIFile == u"modules/scalc/ui/posbox.ui")
+ return true;
+ return false;
+}
+
+bool isBuilderEnabledForFormulabar(std::u16string_view rUIFile)
+{
+ if (rUIFile == u"modules/scalc/ui/inputbar.ui")
+ return true;
+ return false;
+}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */