From 1606171e91f854296e04e186a37d8d6da4d12c05 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Oct 2016 12:13:42 +0100 Subject: rearrange CustomPropertiesTypeBox Change-Id: Ib30389f7ddf0a85d03b519b586bacf45b3c8adc7 --- sfx2/source/dialog/dinfdlg.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sfx2/source/dialog') diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index c763f6a779fb..e2bb52924c12 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1420,10 +1420,16 @@ namespace } } +CustomPropertiesTypeBox::CustomPropertiesTypeBox(vcl::Window* pParent, CustomPropertyLine* pLine) + : ListBox(pParent, SfxResId(SFX_LB_PROPERTY_TYPE)) + , m_pLine(pLine) +{ +} + // struct CustomPropertyLine --------------------------------------------- CustomPropertyLine::CustomPropertyLine( vcl::Window* pParent ) : m_aNameBox ( makeComboBox(pParent) ), - m_aTypeBox ( VclPtr::Create(pParent, SfxResId( SFX_LB_PROPERTY_TYPE ), this) ), + m_aTypeBox ( VclPtr::Create(pParent, this) ), m_aValueEdit ( VclPtr::Create(pParent, WB_BORDER|WB_TABSTOP|WB_LEFT, this ) ), m_aDateField ( VclPtr::Create(pParent, WB_BORDER|WB_TABSTOP|WB_SPIN|WB_LEFT ) ), m_aTimeField ( VclPtr::Create(pParent, WB_BORDER|WB_TABSTOP|WB_SPIN|WB_LEFT ) ), -- cgit