diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 22:01:46 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-17 22:01:46 +0100 |
commit | 5ea025e63751c259956ae84b8edf8d4fe33663c2 (patch) | |
tree | 68782f568590d8910429aeb110698421716a389a /chart2/source/controller/main/ChartWindow.cxx | |
parent | e1019ecb0c2bd79aeda8fa3e969daf3cb3952792 (diff) |
chart2: convert new to ::Create.
Change-Id: I14887bab5ced6e5915a8ecbc277017cec37a82ca
Diffstat (limited to 'chart2/source/controller/main/ChartWindow.cxx')
-rw-r--r-- | chart2/source/controller/main/ChartWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ChartWindow.cxx b/chart2/source/controller/main/ChartWindow.cxx index 743745c8747b..cd50dd3fb598 100644 --- a/chart2/source/controller/main/ChartWindow.cxx +++ b/chart2/source/controller/main/ChartWindow.cxx @@ -49,7 +49,7 @@ ChartWindow::ChartWindow( ChartController* pController, vcl::Window* pParent, Wi : Window(pParent, nStyle) , m_pWindowController( pController ) , m_bInPaint(false) - , m_pOpenGLWindow(new OpenGLWindow(this)) + , m_pOpenGLWindow(VclPtr<OpenGLWindow>::Create(this)) { this->SetHelpId( HID_SCH_WIN_DOCUMENT ); this->SetMapMode( MapMode(MAP_100TH_MM) ); |