diff options
-rw-r--r-- | compilerplugins/clang/useuniqueptr.cxx | 2 | ||||
-rw-r--r-- | include/comphelper/sequence.hxx | 2 |
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); |