diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 00:50:33 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-17 05:15:19 +0200 |
commit | 0842a2707cfca15c0af5eee6ed9d76547a01a7f9 (patch) | |
tree | ce7169d085189ae960fb49d2a518d274ecb11730 /i18npool | |
parent | e7641433c0079a35652893ab15ae6997e3e3a933 (diff) |
use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/filewriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/filewriter.cxx b/i18npool/source/localedata/filewriter.cxx index 19b2558a7ec0..9c301448f9f1 100644 --- a/i18npool/source/localedata/filewriter.cxx +++ b/i18npool/source/localedata/filewriter.cxx @@ -133,7 +133,7 @@ void OFileWriter::writeIntParameter(const sal_Char* pAsciiStr, const sal_Int16 c bool OFileWriter::writeDefaultParameter(const sal_Char* pAsciiStr, const OUString& str, sal_Int16 count) const { - bool bBool = (str == "true" ? 1 : 0); + bool bBool = str == "true"; fprintf(m_f,"static const sal_Unicode default%s%d[] = {%d};\n", pAsciiStr, count, bBool); return bBool; } |