summaryrefslogtreecommitdiff
path: root/include/i18nutil
diff options
context:
space:
mode:
Diffstat (limited to 'include/i18nutil')
-rw-r--r--include/i18nutil/casefolding.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/i18nutil/casefolding.hxx b/include/i18nutil/casefolding.hxx
index 0bf28571cdb5..a63a15058f6a 100644
--- a/include/i18nutil/casefolding.hxx
+++ b/include/i18nutil/casefolding.hxx
@@ -58,7 +58,11 @@ struct Mapping
struct MappingElement
{
- MappingElement() {element.nmap = current = 0;}
+ MappingElement()
+ : current(0)
+ {
+ element.type = element.nmap = 0;
+ }
Mapping element;
sal_Int8 current;
};