summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/dinfdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-10-12 12:13:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-10-12 12:56:36 +0100
commit1606171e91f854296e04e186a37d8d6da4d12c05 (patch)
tree471e6caaaf4a9b0d6afa2809d3171d6814fade16 /sfx2/source/dialog/dinfdlg.cxx
parente6a05e9f3276cccce5d72adce24a8d2fee6b8b7b (diff)
rearrange CustomPropertiesTypeBox
Change-Id: Ib30389f7ddf0a85d03b519b586bacf45b3c8adc7
Diffstat (limited to 'sfx2/source/dialog/dinfdlg.cxx')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx8
1 files changed, 7 insertions, 1 deletions
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<CustomPropertiesTypeBox>::Create(pParent, SfxResId( SFX_LB_PROPERTY_TYPE ), this) ),
+ m_aTypeBox ( VclPtr<CustomPropertiesTypeBox>::Create(pParent, this) ),
m_aValueEdit ( VclPtr<CustomPropertiesEdit>::Create(pParent, WB_BORDER|WB_TABSTOP|WB_LEFT, this ) ),
m_aDateField ( VclPtr<CustomPropertiesDateField>::Create(pParent, WB_BORDER|WB_TABSTOP|WB_SPIN|WB_LEFT ) ),
m_aTimeField ( VclPtr<CustomPropertiesTimeField>::Create(pParent, WB_BORDER|WB_TABSTOP|WB_SPIN|WB_LEFT ) ),