diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-08-08 23:58:34 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-08-08 23:59:48 +0200 |
commit | 2a90263421ff14eaf246998cc71551583a140f8a (patch) | |
tree | b6d50f7c7d8163e5417f3ec97205f2975c66f762 /sfx2/source/menu | |
parent | c39a2440ea2cce75154fea544ace879c25c7e5aa (diff) |
Add 2 lacking va_end.
Diffstat (limited to 'sfx2/source/menu')
-rw-r--r-- | sfx2/source/menu/mnumgr.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx index b82aeeb6bd6f..793c122394d0 100644 --- a/sfx2/source/menu/mnumgr.cxx +++ b/sfx2/source/menu/mnumgr.cxx @@ -442,8 +442,10 @@ sal_uInt16 SfxPopupMenuManager::Execute( const Point& rPoint, Window* pWindow, c va_list pArgs; va_start(pArgs, pArg1); + sal_uInt16 nRet = Execute( rPoint, pWindow, pArgs, pArg1 ); + va_end(pArgs); - return (Execute( rPoint, pWindow, pArgs, pArg1 )); + return (nRet); } //------------------------------------------------------------------------- |