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

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


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

New commits:
commit b0cbb1dcb1a48e32efb6e124f47c83e863c2454d
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:35:17 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/+/106780
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.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 05c11354f4b4..c96a8e390adb 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -1114,12 +1114,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