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

David Tardon dtardon at redhat.com
Wed Apr 29 01:11:13 PDT 2015


 sfx2/source/sidebar/SidebarController.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3a07ed8386875342638272330d854f7c2f3b7ce3
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Apr 29 10:10:45 2015 +0200

    error C2666: 'operator ==' : 2 overloads have similar conversions
    
    Change-Id: I51c71a82a312c2b059ba046ee2557117f365143b

diff --git a/sfx2/source/sidebar/SidebarController.cxx b/sfx2/source/sidebar/SidebarController.cxx
index 4392c1b..682049c 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -290,7 +290,7 @@ void SidebarController::BroadcastPropertyChange()
 
 void SidebarController::NotifyResize()
 {
-    if (mpTabBar == 0)
+    if (!mpTabBar)
     {
         OSL_ASSERT(mpTabBar!=nullptr);
         return;


More information about the Libreoffice-commits mailing list