[Libreoffice-commits] core.git: sd/source
Akshay Deep
akshaydeepiitr at gmail.com
Fri Apr 29 10:19:33 UTC 2016
sd/source/ui/animations/CustomAnimationDialog.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit d6ffb7405d3267f1e76aed7a5e3162b8700f6817
Author: Akshay Deep <akshaydeepiitr at gmail.com>
Date: Thu Apr 28 19:10:07 2016 +0530
tdf#98037 SIDEBAR: Replacing 'Speed' drop downs with comboboxes (2)
Custom Animation Dialog: Enabled dynamic update of time in ComboBox
Change-Id: I42e83486f6eea2684fb9a4f45981bd2f3d3336ab
Reviewed-on: https://gerrit.libreoffice.org/24465
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx
index 800adde..69a7ad3 100644
--- a/sd/source/ui/animations/CustomAnimationDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationDialog.cxx
@@ -1841,9 +1841,9 @@ IMPL_LINK_NOARG_TYPED(CustomAnimationDurationTabPage, DurationModifiedHdl, Edit&
{
double duration_value = static_cast<double>(mpCBXDuration->GetValue());
if(duration_value <= 0.0)
- {
mpCBXDuration->SetValue(1);
- }
+ else
+ mpCBXDuration->SetValue(duration_value);
}
}
More information about the Libreoffice-commits
mailing list