summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/animobjs.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index 56f9cc508626..fd58db937d89 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -253,10 +253,10 @@ IMPL_LINK( AnimationWindow, ClickPlayHdl, weld::Button&, rButton, void )
bool bBtnGetOneObjectEnabled = m_xBtnGetOneObject->get_sensitive();
// calculate overall time
- ::tools::Time aTime( 0 );
::tools::Long nFullTime;
if( m_xRbtBitmap->get_active() )
{
+ ::tools::Time aTime(::tools::Time::EMPTY);
for (size_t i = 0; i < nCount; ++i)
{
aTime += m_FrameList[i].second;
@@ -266,7 +266,6 @@ IMPL_LINK( AnimationWindow, ClickPlayHdl, weld::Button&, rButton, void )
else
{
nFullTime = nCount * 100;
- aTime.MakeTimeFromMS( nFullTime );
}
// StatusBarManager from 1 second