summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-05 08:09:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-05 13:21:30 +0200
commitd2c49bfde8e4e5f17cc80f5f5cc99ebb0aec1946 (patch)
tree8d4a34fa6f864455635c26c5a00637a392da91ef /i18nutil
parent96ccf745fb212f85a81afb4b9d17fa0f7667b935 (diff)
Drop bogus memset
..that is both bad and unnecessary since 8003f8694ac7c4bc117f7ce692339534d37681f0 "loplugin:useuniqueptr in oneToOneMappingWithFlag" changed oneToOneMappingWithFlag::mpIndex from an array of raw pointers to an array of std::unique_ptr. Change-Id: I247a619ebd7804a8a4faee2797f8c4753f9c4ec6 Reviewed-on: https://gerrit.libreoffice.org/80288 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/oneToOneMapping.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/i18nutil/source/utility/oneToOneMapping.cxx b/i18nutil/source/utility/oneToOneMapping.cxx
index d321b49de765..ea8afdeb1fcc 100644
--- a/i18nutil/source/utility/oneToOneMapping.cxx
+++ b/i18nutil/source/utility/oneToOneMapping.cxx
@@ -18,7 +18,6 @@
*/
#include <i18nutil/oneToOneMapping.hxx>
-#include <string.h>
namespace i18nutil {
@@ -63,7 +62,6 @@ oneToOneMappingWithFlag::oneToOneMappingWithFlag( UnicodePairWithFlag const *rpT
mnFlag ( rnFlag ),
mbHasIndex( false )
{
- memset(mpIndex, 0, sizeof(mpIndex));
}
oneToOneMappingWithFlag::~oneToOneMappingWithFlag()