[Libreoffice-commits] .: unotools/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Jan 26 12:33:17 PST 2011


 unotools/source/config/moduleoptions.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ba7844e8f6678cad0460fbf4f4a5f312bebf22ae
Author: Kenneth Venken <kenneth.venken at gmail.com>
Date:   Tue Jan 25 18:39:32 2011 +0100

    Cpp cleanliness: redundant assignment to self

diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx
index 1d7648b..37039e3 100644
--- a/unotools/source/config/moduleoptions.cxx
+++ b/unotools/source/config/moduleoptions.cxx
@@ -310,9 +310,9 @@ struct FactoryInfo
         //---------------------------------------------------------------------------------------------------------
         void setIcon( sal_Int32 nNewIcon )
         {
-            if( nNewIcon != nNewIcon )
+            if( nIcon != nNewIcon )
             {
-                nNewIcon     = nNewIcon;
+                nIcon        = nNewIcon;
                 bChangedIcon = sal_True;
             }
         };


More information about the Libreoffice-commits mailing list