[Libreoffice-commits] core.git: vcl/source

Stephan Bergmann sbergman at redhat.com
Tue Jun 28 08:13:54 UTC 2016


 vcl/source/window/syswin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ff177bf17d547b0c116a9ca486af3d4724056f3e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Jun 28 10:13:17 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I590e5f6e6752902caf3da0d5d1924d59b10c421c

diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index ca0f47f..54f40ac 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -942,7 +942,7 @@ void SystemWindow::SetNotebookBar(const OUString& rUIXMLDescription, const css::
 void SystemWindow::CloseNotebookBar()
 {
     static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->CloseNotebookBar();
-    maNotebookBarUIFile = "";
+    maNotebookBarUIFile.clear();
 }
 
 VclPtr<NotebookBar> SystemWindow::GetNotebookBar() const


More information about the Libreoffice-commits mailing list