diff options
author | Michael Stahl <mst@openoffice.org> | 2010-06-08 19:21:38 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-06-08 19:21:38 +0200 |
commit | de9b4997726579f1092f112731ee9156d55e0ca4 (patch) | |
tree | 5d209bc128c1fa16810941b0db251740f5db5e55 /svl/source | |
parent | a51dc52262038e9c72eea188cfe9a6812bbc2f8d (diff) | |
parent | 0a6646f94e703217f099a763ac5ecfa0b9aaec5e (diff) |
merge DEV300_m81
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/items/nranges.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/svl/source/items/nranges.cxx b/svl/source/items/nranges.cxx index 284bc251a3a4..ae633276300f 100644 --- a/svl/source/items/nranges.cxx +++ b/svl/source/items/nranges.cxx @@ -480,7 +480,6 @@ SfxNumRanges& SfxNumRanges::operator -= NUMTYPE nThisSize = Count_Impl(_pRanges); NUMTYPE nTargetSize = 1 + ( nThisSize + Count_Impl(rRanges._pRanges) ); NUMTYPE *pTarget = new NUMTYPE[ nTargetSize ]; - memset( pTarget, sizeof(NUMTYPE)*nTargetSize, 0 ); memcpy( pTarget, _pRanges, sizeof(NUMTYPE)*nThisSize ); NUMTYPE nPos1 = 0, nPos2 = 0, nTargetPos = 0; @@ -690,7 +689,6 @@ SfxNumRanges& SfxNumRanges::operator /= NUMTYPE nThisSize = Count_Impl(_pRanges); NUMTYPE nTargetSize = 1 + ( nThisSize + Count_Impl(rRanges._pRanges) ); NUMTYPE *pTarget = new NUMTYPE[ nTargetSize ]; - memset( pTarget, sizeof(NUMTYPE)*nTargetSize, 0 ); memcpy( pTarget, _pRanges, sizeof(NUMTYPE)*nThisSize ); NUMTYPE nPos1 = 0, nPos2 = 0, nTargetPos = 0; |