sd/source/ui/func/fusel.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 9cd20bc273c651097122e5e265bb1b342983203f Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Nov 22 10:11:37 2015 +0100 cppcheck: fix 1 memleak (fusel.cxx) Change-Id: I6201d926e6987f231ce11ab6d3a502e8034b4818 Reviewed-on: https://gerrit.libreoffice.org/20114 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index ce59101..03569ca 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -1401,12 +1401,11 @@ bool FuSelection::AnimateObj(SdrObject* pObj, const Point& rPos) { uno::Any aRet; uno::Sequence< sal_Int16 > aOutArgsIndex; + uno::Sequence<uno::Any> aParams; uno::Sequence< uno::Any > aOutArgs; - uno::Sequence< uno::Any >* pInArgs = - new uno::Sequence< uno::Any >(0); ErrCode eErr = mpDocSh->CallXScript( aMacro, - *pInArgs, aRet, aOutArgsIndex, aOutArgs); + aParams, aRet, aOutArgsIndex, aOutArgs); // Check the return value from the script bool bTmp = false; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits