diff options
author | Pranam Lashkari <lpranam@collabora.com> | 2020-12-09 15:57:59 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-12-11 11:40:13 +0100 |
commit | 65c17466a65e88f7133af08323e0cff4764f8e11 (patch) | |
tree | ee99b5098fd5bc9386fee72c34b2de800544e3bd | |
parent | 52d7ea6e03ee66ee6a9c345ded4884fea54d8351 (diff) |
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@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107479
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | sd/source/ui/animations/SlideTransitionPane.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
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(); } |