diff options
author | Kenneth Venken <kenneth.venken@gmail.com> | 2011-01-25 18:39:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-26 20:31:03 +0000 |
commit | 4ec0c1ba906504d07e9bff567770d8812cb6285f (patch) | |
tree | 06ebc137cb2d860fcd1df9aea4489d634909af6b /unotools | |
parent | 6c6eafb05b11efda309ce9cfdbb0a89c5df3d74f (diff) |
Cpp cleanliness: redundant assignment to self
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 5a325f45edf8..1a1b98ef924f 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; } }; |