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

Stephan Bergmann sbergman at redhat.com
Fri Mar 22 06:36:15 PDT 2013


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

New commits:
commit 68579e6054c660de345a5c95f54fee60b3498f4a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Mar 22 14:35:50 2013 +0100

    -Werror,-Wparentheses-equality
    
    Change-Id: I69fd94447718e23ed88af28fed7ba2957559dc5b

diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index b73b908..cc05d70 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -777,7 +777,7 @@ void ThumbnailView::RemoveItem( sal_uInt16 nItemId )
     }
 
     // reset variables
-    if ( (mnHighItemId == nItemId) )
+    if ( mnHighItemId == nItemId )
     {
         mnHighItemId    = 0;
     }


More information about the Libreoffice-commits mailing list