summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/useuniqueptr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-18 13:44:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-28 13:54:42 +0200
commitf66510f1da3ab0584cd13e55f59728f7a2f2f488 (patch)
tree4061d2299b7e36c75f2189784f7213f3a414d02d /compilerplugins/clang/useuniqueptr.cxx
parent06f86d544c8017c2e736bc77db27dd623853770b (diff)
loplugin:useuniqueptr in ODbTypeWizDialog
Change-Id: I4c364ddbad4881cc8a70a1827d7c51e7cc9313f1 Reviewed-on: https://gerrit.libreoffice.org/54850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins/clang/useuniqueptr.cxx')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index 4dc5b85dbf3b..2424bcca8c09 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -59,6 +59,9 @@ public:
// horrible horrible spawn of evil ownership and deletion here
if (fn == SRCDIR "/sfx2/source/view/ipclient.cxx")
return;
+ // sometimes it owns, sometimes it doesn't
+ if (fn == SRCDIR "/editeng/source/misc/svxacorr.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}