summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-16 14:20:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-16 14:21:27 +0100
commit81a1d5ceb7a2fefa0d41a6e5ca1650120e46cbe9 (patch)
treef5176fa502f0b0d9b5f619bb204fc3f5c22c2ecf /vcl
parentdf997d92e080c8ed95e393ae9710483529a82115 (diff)
loplugin:vclwidgets
Change-Id: I9a9748879fcc55b524138d865e71a713efad180d
Diffstat (limited to 'vcl')
-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 cc7cb3fbdde0..0e844e2455d5 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();
}