diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2014-11-10 15:05:25 +0100 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-11-12 11:04:11 +0000 |
commit | da40cac540e7d735edbe9069b3c8ec6af4530208 (patch) | |
tree | f2abda7281129e13f588c77b18780a7090c8405f /compilerplugins | |
parent | bb437029c1e5331bcc3f8fb2fc87837142a52f33 (diff) |
Fix common typos. No automatic tools. Handmade…
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959
Reviewed-on: https://gerrit.libreoffice.org/12164
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/store/findoncontainer.cxx | 2 | ||||
-rw-r--r-- | compilerplugins/clang/store/rtlconstasciimacro.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/store/findoncontainer.cxx b/compilerplugins/clang/store/findoncontainer.cxx index f7db49d0f5b4..99efb9caab56 100644 --- a/compilerplugins/clang/store/findoncontainer.cxx +++ b/compilerplugins/clang/store/findoncontainer.cxx @@ -15,7 +15,7 @@ // Look for places calling std::find on a standard container where it should be using the container find method, which // is more efficient. // -// This lives in /store because the implementation is a hack and is highly dependant on the inwards +// This lives in /store because the implementation is a hack and is highly dependent on the inwards // of the libc++ library on the machine it runs on. // diff --git a/compilerplugins/clang/store/rtlconstasciimacro.cxx b/compilerplugins/clang/store/rtlconstasciimacro.cxx index 482c9ade4201..d52a147db98f 100644 --- a/compilerplugins/clang/store/rtlconstasciimacro.cxx +++ b/compilerplugins/clang/store/rtlconstasciimacro.cxx @@ -107,7 +107,7 @@ bool RtlConstAsciiMacro::VisitCXXConstructExpr( CXXConstructExpr* expr ) searchingForString = false; if( !suitableString ) return true; - // Seach for '(' (don't just remove a given length to handle possible whitespace). + // Search for '(' (don't just remove a given length to handle possible whitespace). const char* text = compiler.getSourceManager().getCharacterData( start ); const char* pos = text; while( *pos != '(' ) |