summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-01 14:21:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-01 14:21:12 +0200
commit545adb6bdbb2bb5d111f24d8f5b87ec5f262ffe8 (patch)
treeeb39f7468b5dba7306fbd581118adcbcf844734e /cui
parentff2fd4d131e4681b43993f3bdbbde57fcf79ff8d (diff)
loplugin:literaltoboolconversion
Change-Id: I05c4c964e88f9123d75751c1eb7c8aae4d41f524
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/page.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 477b4122f3cb..76d289419a7b 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -1196,7 +1196,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet)
if (SFX_ITEM_SET == rSet.GetItemState(nWhich, false))
{
- const SvxSetItem& rSetItem = static_cast< const SvxSetItem& >(rSet.Get(nWhich, sal_False));
+ const SvxSetItem& rSetItem = static_cast< const SvxSetItem& >(rSet.Get(nWhich, false));
const SfxItemSet& rTmpSet = rSetItem.GetItemSet();
const SfxBoolItem& rOn = static_cast< const SfxBoolItem& >(rTmpSet.Get(GetWhich(SID_ATTR_PAGE_ON)));
@@ -1240,7 +1240,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet)
if (SFX_ITEM_SET == rSet.GetItemState(nWhich, false))
{
- const SvxSetItem& rSetItem = static_cast< const SvxSetItem& >(rSet.Get(nWhich,sal_False));
+ const SvxSetItem& rSetItem = static_cast< const SvxSetItem& >(rSet.Get(nWhich,false));
const SfxItemSet& rTmpSet = rSetItem.GetItemSet();
const SfxBoolItem& rOn = static_cast< const SfxBoolItem& >(rTmpSet.Get(GetWhich(SID_ATTR_PAGE_ON)));