diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2021-05-19 20:41:49 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-05-19 21:17:16 +0200 |
commit | c4adc2cffe5758b45633522b2ac42948b54f93c8 (patch) | |
tree | 87a60c7153ee534a4ace0021ab71cc60d9060a25 | |
parent | fix leak when removing PageDesc (diff) | |
download | core-c4adc2cffe5758b45633522b2ac42948b54f93c8.tar.gz core-c4adc2cffe5758b45633522b2ac42948b54f93c8.zip |
Fix typos
Change-Id: I800e966cee8343099fb79f08959ba246a831aee0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115826
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 4 | ||||
-rw-r--r-- | sw/qa/uitest/writer_tests6/tdf118883.py | 2 |
2 files changed, 3 insertions, 3 deletions
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()) |