Author: hdu
Date: Fri Mar 1 18:09:41 2013
New Revision: 1451671
URL: http://svn.apache.org/r1451671
Log:
WaE: fix css::FactoryInfo::setIcon()
Modified:
openoffice/trunk/main/unotools/source/config/moduleoptions.cxx
Modified: openoffice/trunk/main/unotools/source/config/moduleoptions.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/unotools/source/config/moduleoptions.cxx?rev=1451671&r1=1451670&r2=1451671&view=diff
==============================================================================
--- openoffice/trunk/main/unotools/source/config/moduleoptions.cxx (original)
+++ openoffice/trunk/main/unotools/source/config/moduleoptions.cxx Fri Mar 1
18:09:41 2013
@@ -311,9 +311,9 @@ struct FactoryInfo
//---------------------------------------------------------------------------------------------------------
void setIcon( sal_Int32 nNewIcon )
{
- if( nNewIcon != nNewIcon )
+ if( nIcon != nNewIcon )
{
- nNewIcon = nNewIcon;
+ nIcon = nNewIcon;
bChangedIcon = sal_True;
}
};