Kaydet (Commit) a912d1f0 authored tarafından Michael Meeks's avatar Michael Meeks Kaydeden (comit) Caolán McNamara

tdf#92355 - use ScopedVclPtr as a replacement for in-line widgets.

Change-Id: Iccabcf6df662c0c4814a4c4f20d690778799e049
Reviewed-on: https://gerrit.libreoffice.org/16683Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst d97f2ae3
...@@ -391,24 +391,23 @@ public: ...@@ -391,24 +391,23 @@ public:
struct CustomPropertyLine struct CustomPropertyLine
{ {
VclPtr<ComboBox> m_aNameBox; ScopedVclPtr<ComboBox> m_aNameBox;
VclPtr<CustomPropertiesTypeBox> m_aTypeBox; ScopedVclPtr<CustomPropertiesTypeBox> m_aTypeBox;
VclPtr<CustomPropertiesEdit> m_aValueEdit; ScopedVclPtr<CustomPropertiesEdit> m_aValueEdit;
VclPtr<CustomPropertiesDateField> m_aDateField; ScopedVclPtr<CustomPropertiesDateField> m_aDateField;
VclPtr<CustomPropertiesTimeField> m_aTimeField; ScopedVclPtr<CustomPropertiesTimeField> m_aTimeField;
const OUString m_sDurationFormat; const OUString m_sDurationFormat;
VclPtr<CustomPropertiesDurationField> m_aDurationField; ScopedVclPtr<CustomPropertiesDurationField> m_aDurationField;
VclPtr<CustomPropertiesEditButton> m_aEditButton; ScopedVclPtr<CustomPropertiesEditButton> m_aEditButton;
VclPtr<CustomPropertiesYesNoButton> m_aYesNoButton; ScopedVclPtr<CustomPropertiesYesNoButton> m_aYesNoButton;
VclPtr<CustomPropertiesRemoveButton> m_aRemoveButton; ScopedVclPtr<CustomPropertiesRemoveButton> m_aRemoveButton;
bool m_bIsDate; bool m_bIsDate;
bool m_bIsRemoved; bool m_bIsRemoved;
bool m_bTypeLostFocus; bool m_bTypeLostFocus;
CustomPropertyLine( vcl::Window* pParent ); CustomPropertyLine( vcl::Window* pParent );
void SetRemoved();
void SetRemoved();
}; };
// class CustomPropertiesWindow ------------------------------------------ // class CustomPropertiesWindow ------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment