diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-07-18 08:01:29 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-07-18 08:01:29 +0000 |
commit | a65bdb2f5b706bfa60848d6af85dea039ea1ca61 (patch) | |
tree | 5e75942d08dcb92ae01df63712850bc8d9fc823a /sfx2/source/control | |
parent | a2a25ef94b74956d77f658d281cdf2d360e9dadc (diff) |
INTEGRATION: CWS fwk67 (1.20.48); FILE MERGED
2007/07/04 08:54:57 cd 1.20.48.1: #i79140# Fixed some memory leaks
Diffstat (limited to 'sfx2/source/control')
-rw-r--r-- | sfx2/source/control/shell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx index ab4010279c2b..4ce8e3d7d136 100644 --- a/sfx2/source/control/shell.cxx +++ b/sfx2/source/control/shell.cxx @@ -4,9 +4,9 @@ * * $RCSfile: shell.cxx,v $ * - * $Revision: 1.22 $ + * $Revision: 1.23 $ * - * last change: $Author: ihi $ $Date: 2007-07-11 13:11:22 $ + * last change: $Author: obo $ $Date: 2007-07-18 09:01:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1139,12 +1139,12 @@ void SfxShell::SetVerbs(const com::sun::star::uno::Sequence < com::sun::star::em USHORT nr=0; for (sal_Int32 n=0; n<aVerbs.getLength(); n++) { - SfxSlot *pNewSlot = new SfxSlot; USHORT nSlotId = SID_VERB_START + nr++; DBG_ASSERT(nSlotId <= SID_VERB_END, "Zuviele Verben!"); if (nSlotId > SID_VERB_END) break; + SfxSlot *pNewSlot = new SfxSlot; pNewSlot->nSlotId = nSlotId; pNewSlot->nGroupId = 0; |