summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/Theme.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:19:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:27:24 +0200
commita8884ad99c491624d776a4a21f06e6453f71b25a (patch)
tree5f747acfdb24ac2faf6c0d1171ab925303bd1cfb /sfx2/source/sidebar/Theme.cxx
parent259ece83e9b114ccc8403bbde97e5b11d4319865 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I3cb9226ef6bebb5062abfae312dce95f0ef74385
Diffstat (limited to 'sfx2/source/sidebar/Theme.cxx')
-rw-r--r--sfx2/source/sidebar/Theme.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index 5ed7443f0707..0d760796dc3c 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -443,7 +443,7 @@ void SAL_CALL Theme::setPropertyValue (
const beans::PropertyChangeEvent aEvent(
static_cast<XWeak*>(this),
rsPropertyName,
- sal_False,
+ false,
eItem,
aOldValue,
rValue);
@@ -649,13 +649,13 @@ sal_Bool SAL_CALL Theme::hasPropertyByName (const ::rtl::OUString& rsPropertyNam
{
PropertyNameToIdMap::const_iterator iId (maPropertyNameToIdMap.find(rsPropertyName));
if (iId == maPropertyNameToIdMap.end())
- return sal_False;
+ return false;
const PropertyType eType (GetPropertyType(iId->second));
if (eType == PT_Invalid)
- return sal_False;
+ return false;
- return sal_True;
+ return true;
}
void Theme::SetupPropertyMaps()