diff options
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; } }; |