summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-11-22 10:11:37 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-11-22 09:57:44 +0000
commit9cd20bc273c651097122e5e265bb1b342983203f (patch)
treedd5f9ec85371f46a7a16cb94a1f5757514a99fa8 /sd
parente110397a2816037b421bdcdeed0a2fdab5cd99d7 (diff)
cppcheck: fix 1 memleak (fusel.cxx)
Change-Id: I6201d926e6987f231ce11ab6d3a502e8034b4818 Reviewed-on: https://gerrit.libreoffice.org/20114 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fusel.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx
index ce591019959d..03569ca3bda0 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;