summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-28 12:28:53 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-28 12:29:44 +0200
commitd10de0360f08e847056fb8abb0c32da403444db3 (patch)
tree8a6d028697840cc99cd916f624b984720dfa3e2a
parentd725387cf0fd24ac825b3e15609ed70f72c8493c (diff)
svx: fix crash in JunitTest_svx_unoapi
618fd9d91a87113a1fbb5f829bd0d61207ff78af added a mpLBColor widget with a type that does not match what is in the .ui file. Change-Id: I17c58448c1d6cf43652702d60d5600ce8de64224
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx
index 3e7938ff341f..33e2c34c1fbf 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.hxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.hxx
@@ -23,6 +23,7 @@
#include <vcl/ctrl.hxx>
#include <sfx2/sidebar/SidebarPanelBase.hxx>
#include <sfx2/sidebar/ControllerItem.hxx>
+#include <sfx2/sidebar/SidebarToolBox.hxx>
#include <vcl/fixed.hxx>
#include <vcl/field.hxx>
#include <vcl/layout.hxx>
@@ -97,7 +98,7 @@ private:
VclPtr<FixedText> mpFTWidth;
VclPtr<ToolBox> mpTBWidth;
VclPtr<FixedText> mpFTColor;
- VclPtr<ListBox> mpLBColor;
+ VclPtr<sfx2::sidebar::SidebarToolBox> mpLBColor;
VclPtr<FixedText> mpFTStyle;
VclPtr<ListBox> mpLBStyle;
VclPtr<FixedText> mpFTTransparency;