diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-27 12:39:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-27 15:39:29 +0100 |
commit | a967c8f6847cf9cbd6e0f4b9f58f2023e1f92ae5 (patch) | |
tree | a00a7d73a3aa5d6d972c8a66e9357637edf62f9b /compilerplugins | |
parent | 33bd6c3e3512bf96376534e116d6f9f60d157be9 (diff) |
loplugin:passstuffbyref improved return in xmloff,sfx2
Change-Id: I7161dfca77f944027bd20614616e22d6acfa27cd
Reviewed-on: https://gerrit.libreoffice.org/47081
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/passstuffbyref.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx index e152acec8673..a9c134882b14 100644 --- a/compilerplugins/clang/passstuffbyref.cxx +++ b/compilerplugins/clang/passstuffbyref.cxx @@ -249,7 +249,8 @@ void PassStuffByRef::checkReturnValue(const FunctionDecl * functionDecl, const C .GlobalNamespace()) || (dc.MemberFunction().Class("Submission").Namespace("xforms") .GlobalNamespace()) - || (dc.Function("TopLeft").Class("SwRect").GlobalNamespace())) + || (dc.Function("TopLeft").Class("SwRect").GlobalNamespace()) + || (dc.Function("ConvDicList_CreateInstance").GlobalNamespace())) { return; } |