diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-16 10:47:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-16 15:19:24 +0100 |
commit | ac748be2f0a3d5ba965eb8a3ace0b526a65a48cb (patch) | |
tree | 0176a43cd217a8e62799e82946f61421acca4755 /include/sfx2/weldutils.hxx | |
parent | e3f70972d2f93ac87ca281ad8655d0f2c13f1f96 (diff) |
use sidebar icon size setting for welded toolboxes in sidebars
Change-Id: Ie582a76e87126effca9260b58d8a8bef51c147ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86908
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/sfx2/weldutils.hxx')
-rw-r--r-- | include/sfx2/weldutils.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/weldutils.hxx b/include/sfx2/weldutils.hxx index 2486ca97307e..8c577f9a1651 100644 --- a/include/sfx2/weldutils.hxx +++ b/include/sfx2/weldutils.hxx @@ -16,6 +16,7 @@ #include <com/sun/star/uno/Reference.hxx> #include <tools/link.hxx> #include <sfx2/dllapi.h> +#include <svtools/miscopt.hxx> #include <vcl/svapp.hxx> #include <vcl/weld.hxx> @@ -30,12 +31,15 @@ class SFX2_DLLPUBLIC ToolbarUnoDispatcher { private: css::uno::Reference<css::frame::XFrame> m_xFrame; + SvtMiscOptions m_aToolbarOptions; weld::Toolbar* m_pToolbar; DECL_LINK(SelectHdl, const OString&, void); DECL_LINK(ToggleMenuHdl, const OString&, void); + DECL_LINK(ChangedIconSizeHandler, LinkParamNone*, void); void CreateController(const OUString& rCommand); + vcl::ImageType GetIconSize() const; typedef std::map<OUString, css::uno::Reference<css::frame::XToolbarController>> ControllerContainer; |