sc/source/ui/drawfunc/fusel.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit c5c3a1414b52a08ef5701e83e3c1cdcb4c6f7d5a Author: Takeshi Abe <[email protected]> Date: Tue Dec 1 19:26:54 2015 +0900 cppcheck: memleak Change-Id: I40e784ff2aaa2d7d0f0d30264646705283c1d73a Reviewed-on: https://gerrit.libreoffice.org/20324 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 8626daa..8a1dbd7 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -214,10 +214,9 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) uno::Any aRet; uno::Sequence< sal_Int16 > aOutArgsIndex; uno::Sequence< uno::Any > aOutArgs; - uno::Sequence< uno::Any >* pInArgs = - new uno::Sequence< uno::Any >(0); + uno::Sequence< uno::Any > aInArgs; pObjSh->CallXScript( pInfo->GetMacro(), - *pInArgs, aRet, aOutArgsIndex, aOutArgs, true, &aCaller ); + aInArgs, aRet, aOutArgsIndex, aOutArgs, true, &aCaller ); pViewShell->FakeButtonUp( pViewShell->GetViewData().GetActivePart() ); return true; // kein CaptureMouse etc. } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
