[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sd/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 11 10:40:45 UTC 2020


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

New commits:
commit 65c17466a65e88f7133af08323e0cff4764f8e11
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Wed Dec 9 15:57:59 2020 +0530
Commit:     Andras Timar <andras.timar at 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 <lpranam at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107479
    Tested-by: Andras Timar <andras.timar at collabora.com>
    Reviewed-by: Andras Timar <andras.timar at 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();
 }
 


More information about the Libreoffice-commits mailing list