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:35:17 +0100 |
commit | b0cbb1dcb1a48e32efb6e124f47c83e863c2454d (patch) | |
tree | 48a0e094a58954be7e0895588a544262fd55bf11 /sd | |
parent | 8dd46a846fcdfd2b8cb81557b92c74e5e65e8d28 (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/+/106780
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'sd')
-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 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(); } |