summaryrefslogtreecommitdiffstats
path: root/rsc/source/res/rscrange.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/res/rscrange.cxx')
-rw-r--r--rsc/source/res/rscrange.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsc/source/res/rscrange.cxx b/rsc/source/res/rscrange.cxx
index 40af08f8265e..07b914c12ab6 100644
--- a/rsc/source/res/rscrange.cxx
+++ b/rsc/source/res/rscrange.cxx
@@ -179,7 +179,7 @@ bool RscLongRange::IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef )
ERRTYPE RscLongRange::SetNumber( const RSCINST & rInst, sal_Int32 nValue )
{
if( nMax < nValue || nMin > nValue )
- return( ERR_RSCRANGE_OUTDEFSET );
+ return ERR_RSCRANGE_OUTDEFSET;
void * pData = &reinterpret_cast<RscLongRangeInst*>(rInst.pData)->nValue;
memcpy( pData, &nValue, sizeof( sal_Int32 ) );