summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-08-29 21:50:24 +0200
committerJens Carl <j.carl43@gmx.de>2018-08-30 18:36:37 +0200
commit59a4804ce4ec15bad1c8ec2a1a850d0740ba3e7a (patch)
tree2e10de088ef25441dee361b44481a934484da2da
parent99c95cc9fbff0e2cc60152f97d4826a07a8a6ba7 (diff)
Fix typos
Change-Id: Ia658776bce8744e7b771559ca12b94a20923fc52 Reviewed-on: https://gerrit.libreoffice.org/59782 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx2
-rw-r--r--include/comphelper/sequence.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index 3038447964bb..cbcde8c2fce1 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -690,7 +690,7 @@ bool UseUniquePtr::VisitCXXDeleteExpr(const CXXDeleteExpr* deleteExpr)
// NodeArrayDeleter
if (fn == SRCDIR "/unoxml/source/rdf/librdf_repository.cxx")
return true;
- // SmCursor::LineToList ran out of enthusiam to rework the node handling
+ // SmCursor::LineToList ran out of enthusiasm to rework the node handling
if (fn == SRCDIR "/starmath/source/cursor.cxx")
return true;
// XMLEventOASISTransformerContext::FlushEventMap
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx
index ee1cdf6edf4f..903b0b5ae25b 100644
--- a/include/comphelper/sequence.hxx
+++ b/include/comphelper/sequence.hxx
@@ -29,7 +29,7 @@
namespace comphelper
{
- /** Search the given string within the given sequence, return the position of the first occurence.
+ /** Search the given string within the given sequence, return the position of the first occurrence.
Returns -1 if nothing found.
*/
COMPHELPER_DLLPUBLIC sal_Int32 findValue(const css::uno::Sequence< OUString >& _rList, const OUString& _rValue);