[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu Oct 15 02:07:06 PDT 2015
vcl/source/window/brdwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 874122a6663c92df5b0441355b17c596bb524b06
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Oct 15 11:06:32 2015 +0200
loplugin:vclwidgets
Change-Id: I2e73a85a3d8cab0a73c8c776d7406d99411d95d0
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index c5fd0be..9967e9c 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();
}
More information about the Libreoffice-commits
mailing list