summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-14 17:07:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-14 20:11:35 +0200
commitda10ce7452554a6c2ea6f664a3f87b8125369d06 (patch)
treefe46c731da506491ac624153f1ef4f21d985a3ee /svx
parentab51ab4a76a1c9af51e86d1c18e192f504b0faf7 (diff)
Related: tdf#132852 SetExtraSpacing can't precede SetDrawingArea
Change-Id: I9713527122a016021f4e21824e0287d7397e754f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94249 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/SvxPresetListBox.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/SvxPresetListBox.cxx b/svx/source/tbxctrls/SvxPresetListBox.cxx
index 1b9aa8e8beed..adb623bf5dd5 100644
--- a/svx/source/tbxctrls/SvxPresetListBox.cxx
+++ b/svx/source/tbxctrls/SvxPresetListBox.cxx
@@ -28,6 +28,11 @@ SvxPresetListBox::SvxPresetListBox(std::unique_ptr<weld::ScrolledWindow> pWindow
, aIconSize(60, 64)
{
SetEdgeBlending(true);
+}
+
+void SvxPresetListBox::SetDrawingArea(weld::DrawingArea* pDrawingArea)
+{
+ ValueSet::SetDrawingArea(pDrawingArea);
SetExtraSpacing(4);
}