summaryrefslogtreecommitdiff
path: root/vcl/source/window/openglwin.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-20 15:35:54 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-20 15:35:54 +0100
commit4fed8865be56ac431fb91e2432c6e93ce3f781c7 (patch)
tree67b0982f8910bc8bfbc92cb6245520a26f6366dc /vcl/source/window/openglwin.cxx
parentf12488405cdfd8555078d15807aafc5ffd1b037b (diff)
vcl: convert new to ::Create
Change-Id: Ifd52953086ea923fa1770892d13f32c2263aec54
Diffstat (limited to 'vcl/source/window/openglwin.cxx')
-rw-r--r--vcl/source/window/openglwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/openglwin.cxx b/vcl/source/window/openglwin.cxx
index bb7ef2723cdb..1ef46dabc828 100644
--- a/vcl/source/window/openglwin.cxx
+++ b/vcl/source/window/openglwin.cxx
@@ -25,7 +25,7 @@ private:
OpenGLWindowImpl::OpenGLWindowImpl(vcl::Window* pWindow)
{
SystemWindowData aData = OpenGLContext::generateWinData(pWindow, false);
- mxChildWindow.reset(new SystemChildWindow(pWindow, 0, &aData));
+ mxChildWindow.reset(VclPtr<SystemChildWindow>::Create(pWindow, 0, &aData));
mxChildWindow->Show();
maContext.init(mxChildWindow.get());
pWindow->SetMouseTransparent(false);