diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 11:37:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 12:57:34 +0000 |
commit | 55a40209072bac2526e74d5be7dd7be5ccd2c175 (patch) | |
tree | 3dd0257a893fcd6ff16ab164608b952f65041a94 /starmath | |
parent | callcatcher: update list, I suspect SvLBoxBmp cannot be instantiated (diff) | |
download | core-55a40209072bac2526e74d5be7dd7be5ccd2c175.tar.gz core-55a40209072bac2526e74d5be7dd7be5ccd2c175.zip |
remove ToDouble/ToFloat
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/parse.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 3b1f2a4f6f85..b386cf36fbab 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -1972,8 +1972,8 @@ void SmParser::FontSize() Fraction aValue( 1L ); if (lcl_IsNumber( m_aCurToken.aText )) { - double fTmp; - if ((fTmp = m_aCurToken.aText.ToDouble()) != 0.0) + double fTmp = rtl::OUString(m_aCurToken.aText).toDouble(); + if (fTmp != 0.0) { aValue = fTmp; |