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 /sd | |
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 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index d1820317739e..8e42e16aa680 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -2104,9 +2104,9 @@ void CustomAnimationDurationTabPage::update( STLPropertySet* pSet ) break; default: { - String aText( mpCBRepeat->GetText() ); - if( aText.Len() ) - aRepeatCount <<= aText.ToDouble(); + rtl::OUString aText( mpCBRepeat->GetText() ); + if( !aText.isEmpty() ) + aRepeatCount <<= aText.toDouble(); } } @@ -2135,10 +2135,10 @@ void CustomAnimationDurationTabPage::update( STLPropertySet* pSet ) } else { - String aText( mpCBDuration->GetText() ); - if( aText.Len() ) + rtl::OUString aText( mpCBDuration->GetText() ); + if( !aText.isEmpty() ) { - fDuration = aText.ToDouble(); + fDuration = aText.toDouble(); } } |