diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-07-02 11:01:54 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-07-15 15:08:12 +0200 |
commit | d41b79f1051a8dff638732e737d250eef56d5378 (patch) | |
tree | a97214ecf87431b13b2017bd7bda3b9bd2eac5de /vcl/jsdialog/jsdialogbuilder.cxx | |
parent | 07ad277ce32410d02dca9933c005bac7fe0ce972 (diff) |
jsdialog: move executor code to vcl
Change-Id: I9247a652707fe3239dc488a605a2c506d8eec95c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97736
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98819
Tested-by: Jenkins
Diffstat (limited to 'vcl/jsdialog/jsdialogbuilder.cxx')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index cf37b9593880..aed000927a2a 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -124,13 +124,11 @@ std::map<sal_uInt64, WidgetMap>& JSInstanceBuilder::GetLOKWeldWidgetsMap() return s_aLOKWeldBuildersMap; } -namespace jsdialog +weld::Widget* JSInstanceBuilder::FindWeldWidgetsMap(sal_uInt64 nWindowId, const OString& rWidget) { -weld::Widget* FindWeldWidgetsMap(sal_uInt64 nWindowId, const OString& rWidget) -{ - const auto it = JSInstanceBuilder::GetLOKWeldWidgetsMap().find(nWindowId); + const auto it = GetLOKWeldWidgetsMap().find(nWindowId); - if (it != JSInstanceBuilder::GetLOKWeldWidgetsMap().end()) + if (it != GetLOKWeldWidgetsMap().end()) { auto widgetIt = it->second.find(rWidget); if (widgetIt != it->second.end()) @@ -139,7 +137,6 @@ weld::Widget* FindWeldWidgetsMap(sal_uInt64 nWindowId, const OString& rWidget) return nullptr; } -} void JSInstanceBuilder::InsertWindowToMap(sal_uInt64 nWindowId) { |