summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-13 10:50:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-13 10:51:49 +0100
commit2d3030b1fa3669b72731863df078c72882fe94e5 (patch)
tree08dfbf412b39917a443eb3cb6ec6ec1940df5cba /sal
parent18044a60957e21222f642b41b03ca1f28716a6d7 (diff)
Revert "sal: fix some clang warning about implicit bool conversion"
This reverts commit 56ff07a795aca516106bfde80cb32860065690a6, the correct fix is d19598b56c8bec688d1944cd167f32a369344100 "Adapt ImplicitBoolConversion to 32-bit builds (where sal_Int32 is long)."
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/locale.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/locale.cxx b/sal/rtl/locale.cxx
index 642565f06a79..d075eda742f1 100644
--- a/sal/rtl/locale.cxx
+++ b/sal/rtl/locale.cxx
@@ -316,7 +316,7 @@ sal_Int32 SAL_CALL rtl_locale_hashCode( rtl_Locale * This )
*/
sal_Int32 SAL_CALL rtl_locale_equals( rtl_Locale * This, rtl_Locale * obj )
{
- return sal_Int32(This == obj);
+ return This == obj;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */