summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2020-08-22 18:57:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2020-08-23 11:10:13 +0200
commite670c7a12d6121795dd70025843ced130dfd8d16 (patch)
tree4cc8872af224708bef67dc922af4c625a27844a7
parent4d6aeea85c87c7b4ea3227d03982988d6e4c87c4 (diff)
Fix typos
Change-Id: I305ec375c0aed8832290fe872edd050e53262a90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101217 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--sw/qa/extras/unowriter/unowriter.cxx2
-rw-r--r--sw/source/uibase/config/prtopt.cxx4
-rw-r--r--sw/source/uibase/config/usrpref.cxx2
3 files changed, 4 insertions, 4 deletions
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;