loplugin:useuniqueptr in SvxOutlinerForwarder

Change-Id: Ie861132b43b0a01ee8b4f3bc201bbf12f8af9f36
Reviewed-on: https://gerrit.libreoffice.org/54181
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2018-05-09 14:00:59 +02:00
parent 6da400912e
commit 19b4520fbf
3 changed files with 13 additions and 20 deletions

View File

@@ -49,6 +49,10 @@ public:
// and the logic depends on overriding methods.
if (fn == SRCDIR "/sfx2/source/dialog/tabdlg.cxx")
return;
// pLongArr is being deleted here because we temporarily overwrite a pointer to someone else's buffer, with a pointer
// to our own buffer
if (fn == SRCDIR "/editeng/source/misc/txtrange.cxx")
return;
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
}