From a632fa5f2e059642f0feffb200e8c9a71ee75802 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Jan 2015 10:29:11 +0200 Subject: vcl: rename VclReference to VclPtr and remove the typedefs. The code is more obvious this way. Change-Id: I4c8f5b5ab050dd96216302a03e760ed0e3ab3464 --- extensions/source/propctrlr/standardcontrol.cxx | 4 ++-- extensions/source/propctrlr/standardcontrol.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions') diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 0592b06a5955..9bab3502e305 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -1029,7 +1029,7 @@ namespace pcr { SetCompoundControl( true ); - m_pImplEdit = MultiLineEditRef( new MultiLineEdit( this, WB_TABSTOP | WB_IGNORETAB | WB_NOBORDER | (_nStyle & WB_READONLY) ) ); + m_pImplEdit = VclPtr( new MultiLineEdit( this, WB_TABSTOP | WB_IGNORETAB | WB_NOBORDER | (_nStyle & WB_READONLY) ) ); SetSubEdit( m_pImplEdit.get() ); m_pImplEdit->Show(); @@ -1064,7 +1064,7 @@ namespace pcr boost::scoped_ptr aTemp(m_pFloatingEdit); m_pFloatingEdit = NULL; } - SetSubEdit(EditRef()); + SetSubEdit(VclPtr()); { boost::scoped_ptr aTemp(m_pDropdownButton); m_pDropdownButton = NULL; diff --git a/extensions/source/propctrlr/standardcontrol.hxx b/extensions/source/propctrlr/standardcontrol.hxx index 8b125633ee2d..17865f84888a 100644 --- a/extensions/source/propctrlr/standardcontrol.hxx +++ b/extensions/source/propctrlr/standardcontrol.hxx @@ -375,7 +375,7 @@ namespace pcr { private: OMultilineFloatingEdit* m_pFloatingEdit; - VclReference m_pImplEdit; + VclPtr m_pImplEdit; PushButton* m_pDropdownButton; MultiLineOperationMode m_nOperationMode; bool m_bDropdown : 1; -- cgit