diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-07-01 18:42:44 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-07-01 19:10:33 +0100 |
commit | ff81cb4728c04acf6dfe639c3140b26d68a70751 (patch) | |
tree | 1fb91bde97cd5e1ba84d1b0c6de358667d234a5a /include/sfx2 | |
parent | 7adb6d218f50bbafea7998f67ed375c27694339c (diff) |
tdf#92355 - use ScopedVclPtr as a replacement for in-line widgets.
Change-Id: Iccabcf6df662c0c4814a4c4f20d690778799e049
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index 3bb88d996a53..eb589bd8af1a 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -391,24 +391,23 @@ public: struct CustomPropertyLine { - VclPtr<ComboBox> m_aNameBox; - VclPtr<CustomPropertiesTypeBox> m_aTypeBox; - VclPtr<CustomPropertiesEdit> m_aValueEdit; - VclPtr<CustomPropertiesDateField> m_aDateField; - VclPtr<CustomPropertiesTimeField> m_aTimeField; - const OUString m_sDurationFormat; - VclPtr<CustomPropertiesDurationField> m_aDurationField; - VclPtr<CustomPropertiesEditButton> m_aEditButton; - VclPtr<CustomPropertiesYesNoButton> m_aYesNoButton; - VclPtr<CustomPropertiesRemoveButton> m_aRemoveButton; + ScopedVclPtr<ComboBox> m_aNameBox; + ScopedVclPtr<CustomPropertiesTypeBox> m_aTypeBox; + ScopedVclPtr<CustomPropertiesEdit> m_aValueEdit; + ScopedVclPtr<CustomPropertiesDateField> m_aDateField; + ScopedVclPtr<CustomPropertiesTimeField> m_aTimeField; + const OUString m_sDurationFormat; + ScopedVclPtr<CustomPropertiesDurationField> m_aDurationField; + ScopedVclPtr<CustomPropertiesEditButton> m_aEditButton; + ScopedVclPtr<CustomPropertiesYesNoButton> m_aYesNoButton; + ScopedVclPtr<CustomPropertiesRemoveButton> m_aRemoveButton; bool m_bIsDate; bool m_bIsRemoved; bool m_bTypeLostFocus; CustomPropertyLine( vcl::Window* pParent ); - - void SetRemoved(); + void SetRemoved(); }; // class CustomPropertiesWindow ------------------------------------------ |