summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-22 17:59:26 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-22 17:59:26 +0200
commit383cace9ee9d8d4325dc17ad2424243899b09b5b (patch)
tree9180de9128c5ff9a03d83bd304784195b58ad1ff /compilerplugins
parente761ae784775b0e533d0eca343ece9cc750eeb37 (diff)
Fix for BUILDDIR != SRCDIR
Change-Id: I3ea2a0a6d8f54afcc1959b54c36f90bb849995b4
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/plugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index 4a391823bced..88d623831851 100644
--- a/compilerplugins/clang/plugin.cxx
+++ b/compilerplugins/clang/plugin.cxx
@@ -92,7 +92,7 @@ bool Plugin::isInUnoIncludeFile(SourceLocation spellingLocation) const {
|| name.startswith(SRCDIR "/include/systools/")
|| name.startswith(SRCDIR "/include/typelib/")
|| name.startswith(SRCDIR "/include/uno/")
- || name.startswith(SRCDIR "/workdir/")
+ || name.startswith(WORKDIR "/")
|| name == SRCDIR "/include/comphelper/implbase_var.hxx");
}