INTEGRATION: CWS warnings01 (1.9.184); FILE MERGED

2006/02/01 10:39:18 sb 1.9.184.3: #i53898# Fixed previous changes.
2005/09/23 01:29:37 sb 1.9.184.2: RESYNC: (1.9-1.10); FILE MERGED
2005/08/29 13:56:05 sb 1.9.184.1: #i53898# Made code warning-free.
This commit is contained in:
Jens-Heiner Rechtien 2006-06-20 03:30:23 +00:00
parent b535d65dc2
commit 8987d1f3b5

View file

@ -4,9 +4,9 @@
*
* $RCSfile: math.cxx,v $
*
* $Revision: 1.10 $
* $Revision: 1.11 $
*
* last change: $Author: rt $ $Date: 2005-09-08 16:03:38 $
* last change: $Author: hr $ $Date: 2006-06-20 04:30:23 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@ -260,6 +260,8 @@ inline void doubleToString(StringT ** pResult,
}
}
break;
default:
break;
}
sal_Int32 nDigits = nDecPlaces + 1;
@ -880,6 +882,9 @@ double SAL_CALL rtl_math_round(double fValue, int nDecPlaces,
}
}
break;
default:
OSL_ASSERT(false);
break;
}
if ( nDecPlaces != 0 )