summaryrefslogtreecommitdiff
path: root/i18npool/source/localedata/filewriter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/localedata/filewriter.cxx')
-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;
}