sd/source/ui/animations/SlideTransitionPane.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 65c17466a65e88f7133af08323e0cff4764f8e11
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Wed Dec 9 15:57:59 2020 +0530
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Fri Dec 11 11:40:13 2020 +0100

    impress: Difficulty to enter text in Duration field
    
    problem:
    when erasing data in from duration field if we remove
    decimal point remaining numbers before decimal are multiplied by 100
    
    Change-Id: Id060cc702df9d8365f38c261020cae31f95883d1
    Signed-off-by: Pranam Lashkari <lpra...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107479
    Tested-by: Andras Timar <andras.ti...@collabora.com>
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx 
b/sd/source/ui/animations/SlideTransitionPane.cxx
index c5a7f3c58da9..5ae00d6aa267 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -1127,12 +1127,6 @@ IMPL_LINK_NOARG(SlideTransitionPane, 
VariantListBoxSelected, ListBox&, void)
 
 IMPL_LINK_NOARG(SlideTransitionPane, DurationModifiedHdl, Edit&, void)
 {
-    double duration_value = static_cast<double>(mpCBX_duration->GetValue());
-    if(duration_value <= 0.0)
-        mpCBX_duration->SetValue(0);
-    else
-        mpCBX_duration->SetValue(duration_value);
-
     applyToSelectedPages();
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to