sd/source/ui/func/fusel.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 9cd20bc273c651097122e5e265bb1b342983203f Author: Julien Nabet <[email protected]> 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 <[email protected]> Reviewed-by: Julien Nabet <[email protected]> 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 [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
