diff options
author | jan Iversen <jani@libreoffice.org> | 2017-09-06 08:42:52 +0200 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-09-06 13:04:47 +0200 |
commit | 4829d41c89acbf29db6414d026275829cf69bdc1 (patch) | |
tree | dad3b63b159385632713f4cc42371446c3694365 /i18npool | |
parent | 0c1532c62bc489e5e811a641919492316bcbe8e3 (diff) |
iOS, make gendict.cxx compile
it is not possible to take the address directly of OUString variables.
Change-Id: I8e31494523f4ec186de81aa065f03d7fb2ef475d
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/gendict.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index dd3376835dd1..677ea49812af 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -146,7 +146,8 @@ static inline void printDataArea(FILE *dictionary_fp, FILE *source_fp, vector<sa if ((lenArrayCurr & 0x0f) == 0x0f) fputs("\n\t", source_fp); #else - fwrite(&Ostr[i], sizeof(Ostr[i]), 1, source_fp); + sal_Unicode x = Ostr[i]; + fwrite(&x, sizeof(Ostr[i]), 1, source_fp); #endif } } |