summaryrefslogtreecommitdiff
path: root/sal/rtl/locale.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:18:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:48 +0200
commitabe81a0b7b5014aefec1ede55cc6b7b947c47484 (patch)
tree769331fe1b6fbdee41dff85b8259e5d275ab5dc2 /sal/rtl/locale.cxx
parentb8f04b740fe3e61269daeccbbb9bc5752e5fd5b3 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I6c656f991999791469015500aff1905fdb16ba65
Diffstat (limited to 'sal/rtl/locale.cxx')
-rw-r--r--sal/rtl/locale.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/rtl/locale.cxx b/sal/rtl/locale.cxx
index bd232c1a768a..751c23c5a941 100644
--- a/sal/rtl/locale.cxx
+++ b/sal/rtl/locale.cxx
@@ -170,13 +170,13 @@ sal_Bool rtl_hashtable_grow(RTL_HASHTABLE** table)
rtl_freeMemory((*table));
(*table) = pNewTable;
- return sal_True;
+ return true;
}
extern "C" sal_Bool rtl_hashtable_find(RTL_HASHTABLE * table, sal_Int32 key, sal_Int32 hashCode, rtl_Locale** pValue)
{
if (!table)
- return sal_False;
+ return false;
if (table->Table[key])
{
@@ -188,11 +188,11 @@ extern "C" sal_Bool rtl_hashtable_find(RTL_HASHTABLE * table, sal_Int32 key, sal
if (pEntry)
*pValue = pEntry->Entry;
else
- return sal_False;
+ return false;
} else
- return sal_False;
+ return false;
- return sal_True;
+ return true;
}
/*************************************************************************