summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerjan iversen <jani@documentfoundation.org>2016-02-05 06:48:38 +0000
commit534b2a4b58ba765dbc256d6297e33453524915e2 (patch)
tree68524baff923ce094392f49e0f263ae0d35f80e9 /compilerplugins
parent7f5de2436a5c51ee8dec38a9b04f4a1b3589e361 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badvectorinit.cxx2
-rw-r--r--compilerplugins/clang/getimplementationname.cxx6
-rw-r--r--compilerplugins/clang/unusedmethods.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/compilerplugins/clang/badvectorinit.cxx b/compilerplugins/clang/badvectorinit.cxx
index 7f67ffc3a9b4..b8c2dfe2d985 100644
--- a/compilerplugins/clang/badvectorinit.cxx
+++ b/compilerplugins/clang/badvectorinit.cxx
@@ -25,7 +25,7 @@ Killing the 1-argument vector fill constructor:
in general is probably a Good Thing(tm). It can just be too misleading.
Requiring at least the explicit two-value fill constructor for the rare cases where
-someone wants a filled vector isnt too much to ask and less prone to
+someone wants a filled vector isn't too much to ask and less prone to
misunderstandings:
std::vector< basebmp::Color > aDevPal(2, basebmp::Color(0,0,0));
diff --git a/compilerplugins/clang/getimplementationname.cxx b/compilerplugins/clang/getimplementationname.cxx
index b918dc62da01..7e90b3818011 100644
--- a/compilerplugins/clang/getimplementationname.cxx
+++ b/compilerplugins/clang/getimplementationname.cxx
@@ -8,7 +8,7 @@
*/
// only compile this on unixy system
-// as we dont want to bother with x-platform system()/mkdir()
+// as we don't want to bother with x-platform system()/mkdir()
#if defined(__unix__)
// only compile this on clang 3.7 or higher, which is known to work
// there were problems on clang 3.5 at least
@@ -292,7 +292,7 @@ std::string GetImplementationName::initOutdir() {
return result;
}
report(
- clang::DiagnosticsEngine::Error, "WORKDIR unset, dont know where to write service implementation info.");
+ clang::DiagnosticsEngine::Error, "WORKDIR unset, don't know where to write service implementation info.");
return std::string();
}
}
@@ -302,7 +302,7 @@ std::string GetImplementationName::initSrcdir() {
char* pSrcdir = getenv("SRCDIR");
if(!pSrcdir) {
report(
- clang::DiagnosticsEngine::Error, "SRCDIR unset, dont know where the source base is.");
+ clang::DiagnosticsEngine::Error, "SRCDIR unset, don't know where the source base is.");
}
return std::string(pSrcdir);
}
diff --git a/compilerplugins/clang/unusedmethods.cxx b/compilerplugins/clang/unusedmethods.cxx
index b05ffe3dae5d..3649fc6c24dc 100644
--- a/compilerplugins/clang/unusedmethods.cxx
+++ b/compilerplugins/clang/unusedmethods.cxx
@@ -261,7 +261,7 @@ bool UnusedMethods::VisitCallExpr(CallExpr* expr)
}
/*
expr->dump();
- throw "Cant touch this";
+ throw "Can't touch this";
*/
return true;
}