diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-11 16:32:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-11 16:32:28 +0200 |
commit | 6f8d047519c8e80371a646ce4bad8f7304aab6ea (patch) | |
tree | f79b5a6cae706b3d4422a02bd109824eb8a2eeaa /framework/inc | |
parent | c726059adf71f9c812df3363b4902c52023827b6 (diff) |
loplugin:salbool: Better heuristic to determine code shared between C and C++
Change-Id: I09c9c57d5adeb665cc2508fad9727085a3289bfb
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/properties.h | 2 | ||||
-rw-r--r-- | framework/inc/protocols.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/properties.h b/framework/inc/properties.h index 383225ffeece..78f4701b9412 100644 --- a/framework/inc/properties.h +++ b/framework/inc/properties.h @@ -157,7 +157,7 @@ class PropHelper css::uno::Any& aOldValue , css::uno::Any& aChangedValue ) { - bool bChanged = sal_False; + bool bChanged = false; // clear return parameter to be sure, to put out only valid values ... aOldValue.clear(); diff --git a/framework/inc/protocols.h b/framework/inc/protocols.h index d729d6f72235..b93f292e0f15 100644 --- a/framework/inc/protocols.h +++ b/framework/inc/protocols.h @@ -82,7 +82,7 @@ class ProtocolCheck */ static bool isProtocol( const OUString& sURL, EProtocol eRequired ) { - bool bRet = sal_False; + bool bRet = false; switch(eRequired) { case E_PRIVATE: @@ -116,7 +116,7 @@ class ProtocolCheck bRet = sURL.startsWith(SPECIALPROTOCOL_NEWS); break; default: - bRet = sal_False; + bRet = false; break; } return bRet; |