diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 12:45:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 15:54:48 +0100 |
commit | fef7cbd5d5057fb88e46f967739447cf26c00b8e (patch) | |
tree | 28255b4ebf47d78a0c25ae64e505e30b0fe0bc85 /include/cppu | |
parent | fd910cfbda17dd6cded63128fa4dbbc931d2f04d (diff) |
cppu: Let C++ inline functions return bool instead of sal_Bool
...to improve diagnosing misuses of boolean expressions in client code (cf.
compilerplugins/clang/implicitboolconversion.cxx). This change should be
transparent to client code.
Change-Id: I4c9a55f8c7d0f05fda617f9b33d93ce78bb8fbeb
Diffstat (limited to 'include/cppu')
-rw-r--r-- | include/cppu/EnvGuards.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppu/EnvGuards.hxx b/include/cppu/EnvGuards.hxx index 01039a235b43..68d81ffe2ae2 100644 --- a/include/cppu/EnvGuards.hxx +++ b/include/cppu/EnvGuards.hxx @@ -59,7 +59,7 @@ namespace cppu @return 0 == empty, 1 == non empty */ - sal_Bool SAL_CALL is() const SAL_THROW(()) + bool SAL_CALL is() const SAL_THROW(()) { return m_env.is(); } |