summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-07-01 18:42:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-02 15:52:17 +0000
commita912d1f017895898ade559ea02fdb378021cd9ee (patch)
tree0c801e8da9b860db4d70776f8c4d9875e7343c00
parentd97f2ae363f26a6bfaa6da854d2c6721043114f8 (diff)
tdf#92355 - use ScopedVclPtr as a replacement for in-line widgets.
Change-Id: Iccabcf6df662c0c4814a4c4f20d690778799e049 Reviewed-on: https://gerrit.libreoffice.org/16683 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/sfx2/dinfdlg.hxx23
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 ------------------------------------------