[Libreoffice-commits] core.git: compilerplugins/clang

Stephan Bergmann sbergman at redhat.com
Mon Jun 22 08:59:55 PDT 2015


 compilerplugins/clang/plugin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 383cace9ee9d8d4325dc17ad2424243899b09b5b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 22 17:59:26 2015 +0200

    Fix for BUILDDIR != SRCDIR
    
    Change-Id: I3ea2a0a6d8f54afcc1959b54c36f90bb849995b4

diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx
index 4a39182..88d6238 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");
 }
 


More information about the Libreoffice-commits mailing list