diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-18 14:19:11 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-18 14:57:14 +0200 |
commit | c16ae82f6d8e8019dfb037f643ca2ea246fa66df (patch) | |
tree | 1c4c63ab93c443d7b1c27fda03f82ab3e544bbca /svl/source | |
parent | b9b21cb3c77b4f1d3e9e274c0ca301893315a6d5 (diff) |
one * is sufficient here :)
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/itemset.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 78fbd27e8bdb..147d90b0ea09 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 |