diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:19:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:25 +0200 |
commit | c763ceb4a6104ac4af504681babc069aa6ae5bd3 (patch) | |
tree | 21b50a4a0c3a9936aaa7ad8730ed06f8d59a4a9d /stoc/source/defaultregistry | |
parent | 88338ed6291f3552b583f539f1588984ec188e56 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3a3295b538e79186914390b6da73cc8bc25419a5
Diffstat (limited to 'stoc/source/defaultregistry')
-rw-r--r-- | stoc/source/defaultregistry/defaultregistry.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index d4077d9c1c08..5637d55f439f 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -1244,13 +1244,13 @@ sal_Bool SAL_CALL NestedRegistryImpl::isValid( ) throw(RuntimeException, std::e { if ( (m_localReg.is() && m_localReg->isValid()) || (m_defaultReg.is() && m_defaultReg->isValid()) ) - return sal_True; + return true; } catch(InvalidRegistryException& ) { } - return sal_False; + return false; } @@ -1321,7 +1321,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::isReadOnly( ) { } - return sal_False; + return false; } |