summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-21 23:53:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-22 09:25:35 +0100
commit30a53d4ea9f554fed283245fb02ae6c1437dd0fe (patch)
tree4d19d228ee9c8513d10ab2cd703b6742e96eef66 /vcl
parent42bfc7c6ddc12788d2b40076ee58ab6ca95feb89 (diff)
simplify this now
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/strhelper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/vcl/strhelper.hxx b/vcl/inc/vcl/strhelper.hxx
index 9a6cc0cca634..6f1ec6646a6f 100644
--- a/vcl/inc/vcl/strhelper.hxx
+++ b/vcl/inc/vcl/strhelper.hxx
@@ -63,7 +63,7 @@ inline double VCL_DLLPUBLIC StringToDouble( const String& rStr )
inline double VCL_DLLPUBLIC StringToDouble( const ByteString& rStr )
{
- return rtl::math::stringToDouble(rtl::OStringToOUString( rStr, osl_getThreadTextEncoding() ), sal_Unicode('.'), sal_Unicode(0));
+ return rtl::math::stringToDouble(rStr, '.', static_cast<sal_Char>(0));
}
// fills a character buffer with the string representation of a double