summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-04 21:01:10 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-05 07:59:31 +0200
commit52c3aae9b0ee9a3fb7cd38b6c4bb0b95916a1812 (patch)
treefdc398f4fae1a852a7f991eda5c3192eef56b2ce /editeng/source
parent35d21e4bf6f66b3bbc7a44fcf184cb721b524a94 (diff)
Drop bogus memset
...that is both bad and unnecessary since 76643b208c7f0c43b0603e08a3b37f29878c42ea "loplugin:useuniqueptr in SvxNumRule" changed SvxNumRule::aFmts from an array or raw pointers to an array of std::unique_ptr. Change-Id: I889da7973958d5546ded67be4f51f6312b240ea9 Reviewed-on: https://gerrit.libreoffice.org/80275 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/items/numitem.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index 4d4215b51f7d..e35682e04fbe 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -626,7 +626,6 @@ SvxNumRule::SvxNumRule(const SvxNumRule& rCopy)
nFeatureFlags = rCopy.nFeatureFlags ;
bContinuousNumbering = rCopy.bContinuousNumbering;
eNumberingType = rCopy.eNumberingType;
- memset( aFmts, 0, sizeof( aFmts ));
for(sal_uInt16 i = 0; i < SVX_MAX_NUM; i++)
{
if(rCopy.aFmts[i])