summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-18 14:19:11 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-18 14:57:14 +0200
commit434f39d84692afb8d2da47c8ca7c27294c828623 (patch)
tree4fc874f8ba52500a6be3a893d54913e303ed2367
parent801d016474b673767a60ff86ee8255081fda7388 (diff)
one * is sufficient here :)
-rw-r--r--svl/source/items/itemset.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 47921f2812..3be762d646 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1876,12 +1876,12 @@ static SfxItemArray AddItem_Impl(SfxItemArray pItems, sal_uInt16 nOldSize, sal_u
{
// alte Items vor nPos kopieren
if ( nPos )
- memcpy( (void*) pNew, pItems, nPos * sizeof(SfxPoolItem **) );
+ memcpy( (void*) pNew, pItems, nPos * sizeof(SfxPoolItem *) );
// alte Items hinter nPos kopieren
if ( nPos < nOldSize )
memcpy( (void*) (pNew + nPos + 1), pItems + nPos,
- (nOldSize-nPos) * sizeof(SfxPoolItem **) );
+ (nOldSize-nPos) * sizeof(SfxPoolItem *) );
}
// neues Item initialisieren