[Libreoffice-commits] .: vcl/unx

Caolán McNamara caolan at kemper.freedesktop.org
Fri Jul 22 02:52:45 PDT 2011


 vcl/unx/generic/window/salframe.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit da19d3256337b00116e025e2ab268215feebfdc2
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jul 22 10:50:15 2011 +0100

    WaE: remove now unused bFoundIconSize

diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 9152073..2360018 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -979,7 +979,6 @@ void X11SalFrame::SetIcon( sal_uInt16 nIcon )
 #endif
 
             const int ourLargestIconSize = 48;
-            bool bFoundIconSize = false;
 
             int i;
             for( i=0; i<nSizes; i++)
@@ -996,7 +995,6 @@ void X11SalFrame::SetIcon( sal_uInt16 nIcon )
                     && pIconSize[i].max_width <= 2*ourLargestIconSize )
                 {
                     iconSize = pIconSize[i].max_width;
-                    bFoundIconSize = true;
                 }
                 iconSize = pIconSize[i].max_width;
 


More information about the Libreoffice-commits mailing list