summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-15 11:06:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-15 11:06:32 +0200
commit874122a6663c92df5b0441355b17c596bb524b06 (patch)
tree423d5024c8688cf5ae518b9278fe0d19bb3494e1 /vcl/source
parent8c1014021dbe9da2e18233d215b970f5359db67b (diff)
loplugin:vclwidgets
Change-Id: I2e73a85a3d8cab0a73c8c776d7406d99411d95d0
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/brdwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index c5fd0be3132c..9967e9c5d9f2 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -2179,7 +2179,7 @@ void ImplBorderWindow::SetMenuBarMode( bool bHide )
void ImplBorderWindow::SetNotebookBarWindow(const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame>& rFrame)
{
- mpNotebookBarWindow.reset(new NotebookBarWindow(this, "NotebookBar", rUIXMLDescription, rFrame));
+ mpNotebookBarWindow = VclPtr<NotebookBarWindow>::Create(this, "NotebookBar", rUIXMLDescription, rFrame);
Resize();
mpNotebookBarWindow->Show();
}