diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 16:46:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:32 +0200 |
commit | 242b2ad3e1220c8df322615c543e161e5369e2f5 (patch) | |
tree | 062566e6c4b7106b93c354a95a441ff3d256592b /include/uno | |
parent | Use cast to bool to normalize sal_Bool values (diff) | |
download | core-242b2ad3e1220c8df322615c543e161e5369e2f5.tar.gz core-242b2ad3e1220c8df322615c543e161e5369e2f5.zip |
Remove redundant comparison against sal_False
Change-Id: Ibbaf7c3e013a4b098640f4354f8d1e46c13e43af
Diffstat (limited to 'include/uno')
-rw-r--r-- | include/uno/current_context.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uno/current_context.hxx b/include/uno/current_context.hxx index cfe3eef4d5e0..d4d5608f83af 100644 --- a/include/uno/current_context.hxx +++ b/include/uno/current_context.hxx @@ -61,7 +61,7 @@ inline bool SAL_CALL setCurrentContext( Reference< XCurrentContext > const & xContext ) { ::rtl::OUString aEnvTypeName( CPPU_CURRENT_LANGUAGE_BINDING_NAME ); - return (::uno_setCurrentContext( xContext.get(), aEnvTypeName.pData, NULL ) != sal_False); + return ::uno_setCurrentContext( xContext.get(), aEnvTypeName.pData, NULL ); } /** Objects of this class are used for applying a current context until they are destructed, i.e. |