summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-08-17 00:50:33 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-08-17 05:15:19 +0200
commit0842a2707cfca15c0af5eee6ed9d76547a01a7f9 (patch)
treece7169d085189ae960fb49d2a518d274ecb11730 /i18npool
parente7641433c0079a35652893ab15ae6997e3e3a933 (diff)
use bool directly
Change-Id: I314e290b453c55e345559d8abef9b00622493ed3
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/filewriter.cxx2
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;
}