summaryrefslogtreecommitdiff
path: root/compilerplugins/clang
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 16:22:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-30 08:21:01 +0200
commitcfe896e7b811d4c2777531efcca8065a0d2fbf54 (patch)
treeff8688175a9cab2797bd4d0f8d4945b4b68f18d9 /compilerplugins/clang
parent95d7dc537e8979b67ed0928237404fd552880095 (diff)
loplugin:useuniqueptr in SwGrfExtPage
Change-Id: Ic71cf09b6a443f6918b074010fe53ea0843bf246 Reviewed-on: https://gerrit.libreoffice.org/58238 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index ab254920b6c9..d93c40205a8d 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -110,6 +110,12 @@ public:
// SfxObjectShell::pMedium
if (fn == SRCDIR "/sfx2/source/doc/objxtor.cxx")
return;
+ // various
+ if (fn == SRCDIR "/sw/source/filter/ww8/wrtww8.cxx")
+ return;
+ // WW8TabBandDesc
+ if (fn == SRCDIR "/sw/source/filter/ww8/ww8par2.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}