diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2020-07-10 12:12:02 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2020-07-10 14:50:18 +0200 |
commit | 82dd508c9d534997522adf02869c35b616fc989b (patch) | |
tree | 5f677a9d8786753180b1024dd33a58ae9b0db36e /svx | |
parent | 9cd5645f3be28b45cb704ac06c89cb3b3c3ae0f5 (diff) |
Fix FillControl vcl structure for online notebookbar
Change-Id: I6fff96284270821382e07cb1a024f76c67c67f3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98486
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/tbxctrls/fillctrl.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index 7a9be740539c..876d27ed7d53 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -541,7 +541,7 @@ VclPtr<vcl::Window> SvxFillToolBoxControl::CreateItemWindow(vcl::Window *pParent return mpFillControl.get(); } - return VclPtr<vcl::Window>(); + return mpFillControl; } FillControl::FillControl(vcl::Window* pParent) @@ -551,6 +551,7 @@ FillControl::FillControl(vcl::Window* pParent) , mpLbFillAttr(VclPtr<SvxFillAttrBox>::Create(this)) { SetOptimalSize(); + mpToolBoxColor->set_id("colortoolbox"); } FillControl::~FillControl() |