From 28dfcd5da4cfb26d31cce7bf2ad7baa3bee1f350 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Thu, 11 May 2017 11:01:15 +0200 Subject: Fix typos Change-Id: I204178ed4cf0fd3f43043cf1dfde85bb27002fee Reviewed-on: https://gerrit.libreoffice.org/37498 Tested-by: Jenkins Reviewed-by: Michael Stahl --- compilerplugins/clang/checkunusedparams.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compilerplugins/clang/checkunusedparams.cxx') diff --git a/compilerplugins/clang/checkunusedparams.cxx b/compilerplugins/clang/checkunusedparams.cxx index 3fe2d08f7928..f3118e1391f5 100644 --- a/compilerplugins/clang/checkunusedparams.cxx +++ b/compilerplugins/clang/checkunusedparams.cxx @@ -127,7 +127,7 @@ bool CheckUnusedParams::VisitFunctionDecl(FunctionDecl const * decl) { } FunctionDecl const * canon = decl->getCanonicalDecl(); - std::string fqn = canon->getQualifiedNameAsString(); // becuase sometimes clang returns nonsense for the filename of canon + std::string fqn = canon->getQualifiedNameAsString(); // because sometimes clang returns nonsense for the filename of canon if (ignoreLocation(canon)) return true; if (isInUnoIncludeFile(compiler.getSourceManager().getSpellingLoc(canon->getLocation()))) -- cgit