diff options
Diffstat (limited to 'stoc/source')
-rw-r--r-- | stoc/source/typeconv/convert.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index 1c864f0864d1..e7795c5fc66a 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx @@ -120,6 +120,7 @@ static bool getNumericValue( double & rfVal, const OUString & rStr ) bNeg = true; else if (trim[0] != '+') return false; + break; case 1: // 0x... break; default: @@ -200,6 +201,7 @@ static bool getHyperValue( sal_Int64 & rnVal, const OUString & rStr ) bNeg = true; else if (trim[0] != '+') return false; + break; case 1: // 0x... break; default: @@ -728,9 +730,8 @@ Any TypeConverter_Impl::convertToSimpleType( const Any& rVal, TypeClass aDestina switch (aSourceClass) { default: - { aRet <<= (toDouble( rVal ) != 0.0); - } + break; case TypeClass_ENUM: // exclude enums break; |