diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-08 00:15:56 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2017-10-08 19:58:16 +0200 |
commit | 0112fa78b7867f0592e3bb2fb3babd76b91594ae (patch) | |
tree | 24b0f1b9c0f133431eda784c0c8e49144ca3d48b /include/svx | |
parent | bef9aeb9c4c4e9641cfcaccbcea52ce1a87b6550 (diff) |
tdf#106642 Wide color buttons are only for the sidebar
Change-Id: I3c75495b0f450ccf0eb8f9de715c7c7befc7bbe6
Reviewed-on: https://gerrit.libreoffice.org/43238
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/tbxcolorupdate.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/svx/tbxcolorupdate.hxx b/include/svx/tbxcolorupdate.hxx index 4dc21b9b45ce..5fad1c3dc759 100644 --- a/include/svx/tbxcolorupdate.hxx +++ b/include/svx/tbxcolorupdate.hxx @@ -43,9 +43,7 @@ namespace svx class SVX_DLLPUBLIC ToolboxButtonColorUpdater { public: - ToolboxButtonColorUpdater( sal_uInt16 nSlotId, - sal_uInt16 nTbxBtnId, - ToolBox* ptrTbx); + ToolboxButtonColorUpdater( sal_uInt16 nSlotId, sal_uInt16 nTbxBtnId, ToolBox* ptrTbx, bool bWideButton = false); ~ToolboxButtonColorUpdater(); void Update( const Color& rColor, bool bForceUpdate = false ); @@ -55,6 +53,7 @@ namespace svx ToolboxButtonColorUpdater(ToolboxButtonColorUpdater &) = delete; void operator =(ToolboxButtonColorUpdater) = delete; + bool mbWideButton; sal_uInt16 mnBtnId; sal_uInt16 mnSlotId; VclPtr<ToolBox> mpTbx; |