From 52c3aae9b0ee9a3fb7cd38b6c4bb0b95916a1812 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 4 Oct 2019 21:01:10 +0200 Subject: 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 --- editeng/source/items/numitem.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'editeng') 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]) -- cgit