diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 21:49:00 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 21:49:00 +0100 |
commit | 40313fc3a21c9c2f6c62070ddc8d1512cc58b3c2 (patch) | |
tree | ed3e9a4e0efffb64418eecad08fb24b6897b15e5 /reportdesign/source/ui/report/SectionWindow.cxx | |
parent | a92cea7e6c07f4f122addd324f6f25616443f3ed (diff) |
reportdesign: convert new to ::Create.
Change-Id: Iee14abd27f9f51ef5e054015a2b033f48cadc54b
Diffstat (limited to 'reportdesign/source/ui/report/SectionWindow.cxx')
-rw-r--r-- | reportdesign/source/ui/report/SectionWindow.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/reportdesign/source/ui/report/SectionWindow.cxx b/reportdesign/source/ui/report/SectionWindow.cxx index 37a22873d296..bb37ceb4cdd4 100644 --- a/reportdesign/source/ui/report/SectionWindow.cxx +++ b/reportdesign/source/ui/report/SectionWindow.cxx @@ -48,10 +48,10 @@ OSectionWindow::OSectionWindow( OViewsWindow* _pParent,const uno::Reference< rep : Window( _pParent,WB_DIALOGCONTROL) ,OPropertyChangeListener(m_aMutex) ,m_pParent(_pParent) -,m_aStartMarker( new rptui::OStartMarker(this,_sColorEntry)) -,m_aReportSection( new rptui::OReportSection(this,_xSection)) -,m_aSplitter(new Splitter(this)) -,m_aEndMarker( new rptui::OEndMarker(this,_sColorEntry)) +,m_aStartMarker( VclPtr<rptui::OStartMarker>::Create(this,_sColorEntry)) +,m_aReportSection( VclPtr<rptui::OReportSection>::Create(this,_xSection)) +,m_aSplitter(VclPtr<Splitter>::Create(this)) +,m_aEndMarker( VclPtr<rptui::OEndMarker>::Create(this,_sColorEntry)) { SetUniqueId(UID_RPT_SECTIONSWINDOW); const MapMode& rMapMode = _pParent->GetMapMode(); |