diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-13 11:27:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-07-16 08:38:38 +0200 |
commit | e7a252166e2d88b4e16f25a04f1d5072236e8c5e (patch) | |
tree | a2ec1c85479b2bd43a412646d43d5b572dfd288e /compilerplugins | |
parent | 43c085f95d7ef985d9b2f229ce346f8fe11d0e34 (diff) |
loplugin:useuniqueptr in UndoTransliterate_Data
Change-Id: I1c6e865a6f59ce7f31c42d28b2b463a577b3cc28
Reviewed-on: https://gerrit.libreoffice.org/57421
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/useuniqueptr.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/useuniqueptr.cxx b/compilerplugins/clang/useuniqueptr.cxx index 0520546052a4..1cb392f718f8 100644 --- a/compilerplugins/clang/useuniqueptr.cxx +++ b/compilerplugins/clang/useuniqueptr.cxx @@ -70,11 +70,15 @@ public: if (fn == SRCDIR "/sc/source/ui/unoobj/funcuno.cxx") return; // SwAttrIter::m_pFont - if (fn == SRCDIR "/sw/source/core/text/itratr.cxx") + if (fn == SRCDIR "/sw/source/core/text/itratr.cxx" + || fn == SRCDIR "/sw/source/core/text/redlnitr.cxx") return; // SwWrongList if (fn == SRCDIR "/sw/source/core/text/wrong.cxx") return; + // SwLineLayout::m_pNext + if (fn == SRCDIR "/sw/source/core/text/porlay.cxx") + return; TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } |