diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 17:28:02 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-01 17:28:02 +0000 |
commit | d4f3d21f26c2698524d3f8221d62cb1f18fd9be4 (patch) | |
tree | 69f56a3010f8466fdc44c4fdd28fd6f58cd82d8b /sfx2/source/explorer/nochaos.cxx | |
parent | 213120a34e61894a732f1be59ce4fd10a990a90a (diff) |
INTEGRATION: CWS inplaceobjects (1.4.24); FILE MERGED
2006/09/28 20:40:03 mba 1.4.24.2: RESYNC: (1.4-1.5); FILE MERGED
2006/09/01 09:03:21 mba 1.4.24.1: #i68993#: wrong initialisation; worked by luck, but not on 64Bit
Diffstat (limited to 'sfx2/source/explorer/nochaos.cxx')
-rw-r--r-- | sfx2/source/explorer/nochaos.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sfx2/source/explorer/nochaos.cxx b/sfx2/source/explorer/nochaos.cxx index fef313a6a079..68ea0fef8866 100644 --- a/sfx2/source/explorer/nochaos.cxx +++ b/sfx2/source/explorer/nochaos.cxx @@ -4,9 +4,9 @@ * * $RCSfile: nochaos.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: obo $ $Date: 2006-09-17 16:45:57 $ + * last change: $Author: vg $ $Date: 2006-11-01 18:28:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -214,9 +214,8 @@ CntStaticPoolDefaults_Impl::CntStaticPoolDefaults_Impl( CntItemPool* /*pPool*/ ) m_ppDefaults( new SfxPoolItem* [ m_nItems ] ), m_pItemInfos( new SfxItemInfo [ m_nItems ] ) { - rtl_zeroMemory( m_ppDefaults, sizeof( m_ppDefaults ) * m_nItems ); - rtl_zeroMemory( m_pItemInfos, sizeof( m_pItemInfos ) * m_nItems ); - + rtl_zeroMemory( m_ppDefaults, sizeof( SfxPoolItem* ) * m_nItems ); + rtl_zeroMemory( m_pItemInfos, sizeof( SfxItemInfo ) * m_nItems ); Insert( new SfxStringItem( WID_CHAOS_START, String() ), 0, |