From 55a40209072bac2526e74d5be7dd7be5ccd2c175 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 20 Mar 2012 11:37:07 +0000 Subject: remove ToDouble/ToFloat --- sd/source/ui/animations/CustomAnimationDialog.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sd/source/ui') 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(); } } -- cgit