Author: hdu
Date: Wed Apr 17 13:05:15 2013
New Revision: 1468888
URL: http://svn.apache.org/r1468888
Log:
WaE: extraneous parantheses -> replaced by simplification
Modified:
openoffice/trunk/main/vcl/source/app/settings.cxx
Modified: openoffice/trunk/main/vcl/source/app/settings.cxx
URL:
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/app/settings.cxx?rev=1468888&r1=1468887&r2=1468888&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/source/app/settings.cxx (original)
+++ openoffice/trunk/main/vcl/source/app/settings.cxx Wed Apr 17 13:05:15 2013
@@ -398,10 +398,7 @@ sal_Bool KeyboardSettings::operator ==(
if ( mpData == rSet.mpData )
return sal_True;
- if ( (mpData->mnOptions == rSet.mpData->mnOptions) )
- return sal_True;
- else
- return sal_False;
+ return (mpData->mnOptions == rSet.mpData->mnOptions);
}
// =======================================================================
@@ -1381,10 +1378,7 @@ sal_Bool NotificationSettings::operator
if ( mpData == rSet.mpData )
return sal_True;
- if ( (mpData->mnOptions == rSet.mpData->mnOptions) )
- return sal_True;
- else
- return sal_False;
+ return (mpData->mnOptions == rSet.mpData->mnOptions);
}
// =======================================================================