[Libreoffice-commits] core.git: sd/source sw/qa

2021-05-19 Thread Andrea Gelmini (via logerrit)
 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 
AuthorDate: Wed May 19 20:41:49 2021 +0200
Commit: Julien Nabet 
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 
Reviewed-by: Julien Nabet 

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
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: sd/source sw/qa sw/source

2020-09-26 Thread Andrea Gelmini (via logerrit)
 sd/source/ui/inc/slideshow.hxx|2 +-
 sw/qa/extras/ooxmlexport/ooxmlexport3.cxx |2 +-
 sw/source/filter/xml/xmlimpit.cxx |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 200a46c0a30c0ff6b1e9df1dc4bd086dbff75c8b
Author: Andrea Gelmini 
AuthorDate: Fri Sep 25 12:24:00 2020 +0200
Commit: Julien Nabet 
CommitDate: Sat Sep 26 10:02:28 2020 +0200

Fix typo

Change-Id: I508a3ce14e8f02bd51055cc22ff29f44c522b7ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103467
Tested-by: Jenkins
Reviewed-by: Julien Nabet 

diff --git a/sd/source/ui/inc/slideshow.hxx b/sd/source/ui/inc/slideshow.hxx
index 9b6087a5d311..15af88f8d10b 100644
--- a/sd/source/ui/inc/slideshow.hxx
+++ b/sd/source/ui/inc/slideshow.hxx
@@ -157,7 +157,7 @@ public:
 
 // events
 void resize( const Size  );
-// return false if the activate failed. callers should call end in 
response to failre
+// return false if the activate failed. callers should call end in 
response to failure
 bool activate(ViewShellBase& rBase);
 void deactivate();
 void paint();
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index 0085734450c0..200d34033ede 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -324,7 +324,7 @@ DECLARE_OOXMLEXPORT_TEST(testCalendar3, "calendar3.docx")
 CPPUNIT_ASSERT_EQUAL(20.f, getProperty(getRun(getParagraphOfText(1, 
xCell2->getText()),1), "CharHeight"));
 
 // tdf#132149 Despite specifying portrait, the page size's specified width 
is greater than its height.
-// Both Word and LO display it as landscape, so ensure that it round-trips 
with landscape dimentions.
+// Both Word and LO display it as landscape, so ensure that it round-trips 
with landscape dimensions.
 uno::Reference 
xPageStyle(getStyles("PageStyles")->getByName("Standard"), uno::UNO_QUERY);
 CPPUNIT_ASSERT_EQUAL_MESSAGE("Page Width (mm) ", sal_Int32(148), 
getProperty(xPageStyle, "Width") / 100);
 CPPUNIT_ASSERT_EQUAL_MESSAGE("Page Height (mm)", sal_Int32(105), 
getProperty(xPageStyle, "Height") / 100);
diff --git a/sw/source/filter/xml/xmlimpit.cxx 
b/sw/source/filter/xml/xmlimpit.cxx
index 2d70ac8013fb..aab0a0069273 100644
--- a/sw/source/filter/xml/xmlimpit.cxx
+++ b/sw/source/filter/xml/xmlimpit.cxx
@@ -94,7 +94,7 @@ void SvXMLImportItemMapper::importXML( SfxItemSet& rSet,
 
 // find a map entry for this attribute
 sal_Int32 nLookupToken = nToken;
-// compatiblity namespaces need to be tranformed into current 
namespace before looking up
+// compatibility namespaces need to be transformed into current 
namespace before looking up
 if (IsTokenInNamespace(nLookupToken, XML_NAMESPACE_FO_COMPAT))
 nLookupToken = XML_ELEMENT(FO, (nLookupToken & TOKEN_MASK));
 SvXMLItemMapEntry const * pEntry = mrMapEntries->getByName( 
nLookupToken );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits