summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:30:23 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:30:23 +0000
commit8987d1f3b504fdb8d298f3bf8b32b90c4bb8d01e (patch)
tree95ea13a08db2b9cfe82b7b87dfadb4f14ca5825f /sal
parentb535d65dc2e254ce443ca4357fd974bc47551c38 (diff)
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.
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/source/math.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx
index c343988352ac..503e1e776827 100644
--- a/sal/rtl/source/math.cxx
+++ b/sal/rtl/source/math.cxx
@@ -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 )