summaryrefslogtreecommitdiff
path: root/include/sfx2/notebookbar
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2024-01-09 14:47:35 +0100
committerTomaž Vajngerl <quikee@gmail.com>2024-01-30 07:40:26 +0100
commit16890dc78a69146d16e672e718148f462d63f587 (patch)
tree42d567613c7b9714e5a50336f5aa66e2938e17d1 /include/sfx2/notebookbar
parent27ceca1996809c0f9390d1e9fb95dc7436ef1acf (diff)
lok: notebookbar: enable currency dropdown
Add .uno:NumberFormatCurrency item to .ui Use weld:: way of widgets creation so we can inject jsdialog code and popup will be correctly registered. Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: Ib57e1cad617ca5c7198d67e107441ba062580f06 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162623 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162710 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/sfx2/notebookbar')
-rw-r--r--include/sfx2/notebookbar/SfxNotebookBar.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/notebookbar/SfxNotebookBar.hxx b/include/sfx2/notebookbar/SfxNotebookBar.hxx
index 7bf34d1cbf7e..cd94ddad7b1e 100644
--- a/include/sfx2/notebookbar/SfxNotebookBar.hxx
+++ b/include/sfx2/notebookbar/SfxNotebookBar.hxx
@@ -33,6 +33,7 @@ class SfxBindings;
class SfxViewFrame;
class SfxViewShell;
class SystemWindow;
+class ToolbarUnoDispatcher;
class WeldedTabbedNotebookbar;
namespace sfx2
@@ -74,6 +75,7 @@ public:
private:
static bool m_bLock;
static bool m_bHide;
+ static std::unique_ptr<ToolbarUnoDispatcher> m_xCalcToolboxDispatcher;
static std::map<const SfxViewShell*, std::shared_ptr<WeldedTabbedNotebookbar>>
m_pNotebookBarWeldedWrapper;