summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-20 11:37:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-20 12:57:34 +0000
commit55a40209072bac2526e74d5be7dd7be5ccd2c175 (patch)
tree3dd0257a893fcd6ff16ab164608b952f65041a94 /sd
parenta92129ec175a1362e61a474cf64992f283db74b4 (diff)
remove ToDouble/ToFloat
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/animations/CustomAnimationDialog.cxx12
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();
}
}