summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-09 09:40:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-14 11:11:33 +0200
commit5c3816cce5054ef41af441f9a280a8025ff6d691 (patch)
treeaed2cd395aae20afa516c16d6393915e69e9a4fd /compilerplugins
parent943e12e73dfa7ec9c09e97be5bdaf851277c25a6 (diff)
loplugin:useuniqueptr in SfxTabDialog
Change-Id: I460bf5aac44e6fd08a5bd5ab8af217dedbcc3cf8 Reviewed-on: https://gerrit.libreoffice.org/54174 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/useuniqueptr.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx
index ce09b5873cbb..c7f76fe6b962 100644
--- a/compilerplugins/clang/useuniqueptr.cxx
+++ b/compilerplugins/clang/useuniqueptr.cxx
@@ -45,6 +45,10 @@ public:
// too clever
if (fn == SRCDIR "/pyuno/source/module/pyuno_runtime.cxx")
return;
+ // m_pExampleSet here is very badly manageed. sometimes it is owning, sometimes not,
+ // and the logic depends on overriding methods.
+ if (fn == SRCDIR "/sfx2/source/dialog/tabdlg.cxx")
+ return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}