diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-20 18:43:15 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-20 18:43:15 +0000 |
commit | 95eb4227f483bac0e830f36a2e0421ed197be521 (patch) | |
tree | 746949f40c62ecee57619f2a349f035b9e659677 /sal | |
parent | INTEGRATION: CWS reportdesign01 (1.6.98); FILE MERGED (diff) | |
download | core-95eb4227f483bac0e830f36a2e0421ed197be521.tar.gz core-95eb4227f483bac0e830f36a2e0421ed197be521.zip |
INTEGRATION: CWS reportdesign01 (1.5.154); FILE MERGED
2007/10/04 09:03:58 lla 1.5.154.1: #i67655# only updates on some tests to build warning free
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/ostring/rtl_OString2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/rtl/ostring/rtl_OString2.cxx b/sal/qa/rtl/ostring/rtl_OString2.cxx index b57a4fb38285..62880805ec31 100644 --- a/sal/qa/rtl/ostring/rtl_OString2.cxx +++ b/sal/qa/rtl/ostring/rtl_OString2.cxx @@ -4,9 +4,9 @@ * * $RCSfile: rtl_OString2.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2006-09-17 08:57:31 $ + * last change: $Author: ihi $ $Date: 2007-11-20 19:43:15 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -53,7 +53,7 @@ class valueOf : public CppUnit::TestFixture sValue = rtl::OString::valueOf( _nValue ); t_print(T_VERBOSE, "nFloat := %.9f sValue := %s\n", _nValue, sValue.getStr()); - float nValueATOF = atof( sValue.getStr() ); + float nValueATOF = static_cast<float>(atof( sValue.getStr() )); bool bEqualResult = is_float_equal(_nValue, nValueATOF); CPPUNIT_ASSERT_MESSAGE("Values are not equal.", bEqualResult == true); |