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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sun Aug 23 09:10:55 UTC 2020


 sw/qa/extras/unowriter/unowriter.cxx |    2 +-
 sw/source/uibase/config/prtopt.cxx   |    4 ++--
 sw/source/uibase/config/usrpref.cxx  |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e670c7a12d6121795dd70025843ced130dfd8d16
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sat Aug 22 18:57:01 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Aug 23 11:10:13 2020 +0200

    Fix typos
    
    Change-Id: I305ec375c0aed8832290fe872edd050e53262a90
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101217
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx
index 77cf1bf7788b..1322c89a3214 100644
--- a/sw/qa/extras/unowriter/unowriter.cxx
+++ b/sw/qa/extras/unowriter/unowriter.cxx
@@ -882,7 +882,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testMultiSelect)
     CPPUNIT_ASSERT_EQUAL(sal_Int32(3), xSelection->getCount());
     css::uno::Reference<css::text::XTextRange> xTextRange(xSelection->getByIndex(0),
                                                           css::uno::UNO_QUERY_THROW);
-    // For #0, result was empty (cursor was put before the last occurence without selection)
+    // For #0, result was empty (cursor was put before the last occurrence without selection)
     CPPUNIT_ASSERT_EQUAL(OUString("abC"), xTextRange->getString());
     xTextRange.set(xSelection->getByIndex(1), css::uno::UNO_QUERY_THROW);
     CPPUNIT_ASSERT_EQUAL(OUString("aBc"), xTextRange->getString());
diff --git a/sw/source/uibase/config/prtopt.cxx b/sw/source/uibase/config/prtopt.cxx
index 13831df970f4..68764fab1ad8 100644
--- a/sw/source/uibase/config/prtopt.cxx
+++ b/sw/source/uibase/config/prtopt.cxx
@@ -114,7 +114,7 @@ SwPrintOptions::SwPrintOptions(bool bWeb) :
 
     // currently there is just one checkbox for print drawings and print graphics
     // In the UI. (File/Print dialog and Tools/Options/.../Print)
-    // And since print graphics is the only available in Writer and WrtierWeb ...
+    // And since print graphics is the only available in Writer and WriterWeb...
 
     m_bPrintDraw = m_bPrintGraphic;
 }
@@ -159,7 +159,7 @@ void SwPrintOptions::ImplCommit()
 
     // currently there is just one checkbox for print drawings and print graphics
     // In the UI. (File/Print dialog and Tools/Options/.../Print)
-    // And since print graphics is the only available in Writer and WrtierWeb ...
+    // And since print graphics is the only available in Writer and WriterWeb...
     m_bPrintDraw = m_bPrintGraphic;
 
     PutProperties(aNames, aValues);
diff --git a/sw/source/uibase/config/usrpref.cxx b/sw/source/uibase/config/usrpref.cxx
index 22ca1fd44bd2..6d1394daed76 100644
--- a/sw/source/uibase/config/usrpref.cxx
+++ b/sw/source/uibase/config/usrpref.cxx
@@ -172,7 +172,7 @@ void SwContentViewConfig::ImplCommit()
             case 19: bVal = rParent.IsUpdateCharts(); break;// "Update/Chart"
             case 20: bVal = rParent.IsShowInlineTooltips(); break;// "Display/ShowInlineTooltips"
             case 21: bVal = rParent.IsUseHeaderFooterMenu(); break;// "Display/UseHeaderFooterMenu"
-            case 22: bVal = rParent.IsShowOutlineContentVisibilityButton(); break;// "Display/ShowOutlineContnetVisibilityButton"
+            case 22: bVal = rParent.IsShowOutlineContentVisibilityButton(); break;// "Display/ShowOutlineContentVisibilityButton"
         }
         if (nProp != g_UpdateLinkIndex)
             pValues[nProp] <<= bVal;


More information about the Libreoffice-commits mailing list