sd/source/ui/animations/CustomAnimationDialog.cxx | 4 ++-- sw/qa/uitest/writer_tests6/tdf118883.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit c4adc2cffe5758b45633522b2ac42948b54f93c8 Author: Andrea Gelmini <[email protected]> AuthorDate: Wed May 19 20:41:49 2021 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Wed May 19 21:17:16 2021 +0200 Fix typos Change-Id: I800e966cee8343099fb79f08959ba246a831aee0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115826 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index f6cd3422fd21..1fb22575975e 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -691,8 +691,8 @@ void SdScalePropertyBox::setValue(const Any& rValue, const OUString&) aValues.First >>= fValue1; aValues.Second >>= fValue2; - // 'Size' drop down menu set by mnDirectioin when loading Grow and Shrink Animation - // Shouldn't compare a float directly to zero...should be fixed with delta epsilon compare + // 'Size' drop down menu set by mnDirection when loading Grow and Shrink Animation + // Shouldn't compare a float directly to zero... should be fixed with delta epsilon compare // Might be better to just have a flag in the content.xml for this if( (fValue1 == 0.0) && (fValue2 == 0.0) ) mnDirection = 3; // assume 'Both' scaling option when both are zero diff --git a/sw/qa/uitest/writer_tests6/tdf118883.py b/sw/qa/uitest/writer_tests6/tdf118883.py index 300412344fb0..9a7397d413b1 100644 --- a/sw/qa/uitest/writer_tests6/tdf118883.py +++ b/sw/qa/uitest/writer_tests6/tdf118883.py @@ -32,7 +32,7 @@ class Tdf118883(UITestCase): calc_document = self.ui_test.get_component() - # Without the fix in place, this test would have failed wiht + # Without the fix in place, this test would have failed with # AssertionError: 1 != 0 self.assertEqual(1, calc_document.DrawPages[0].getCount()) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
