summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/nullptr.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-10-07 15:29:30 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-08 20:46:36 +0200
commitbef96f7a7b4d1dc7bcb01c949e0ae296c969dcee (patch)
tree77462295af716f5afb2645fadcc4034855ee4ee6 /compilerplugins/clang/nullptr.cxx
parent412c6c1ca9a9ed5c585935e8b6cfc70f1a7152c4 (diff)
better name for a function in compilerplugins
The function is not just about a spelling location. Change-Id: I96e9e9ef7e27a9763397b4b86473c1c30d0e3eeb Reviewed-on: https://gerrit.libreoffice.org/80381 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins/clang/nullptr.cxx')
-rw-r--r--compilerplugins/clang/nullptr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/nullptr.cxx b/compilerplugins/clang/nullptr.cxx
index 89535daa9849..b4a40b408a6c 100644
--- a/compilerplugins/clang/nullptr.cxx
+++ b/compilerplugins/clang/nullptr.cxx
@@ -239,7 +239,7 @@ bool Nullptr::TraverseInitListExpr(InitListExpr * expr, DataRecursionQueue * que
bool Nullptr::isInLokIncludeFile(SourceLocation spellingLocation) const {
return loplugin::hasPathnamePrefix(
- getFileNameOfSpellingLoc(spellingLocation),
+ getFilenameOfLocation(spellingLocation),
SRCDIR "/include/LibreOfficeKit/");
}