[Libreoffice-commits] core.git: cui/source
Stephan Bergmann
sbergman at redhat.com
Tue Jul 1 05:21:53 PDT 2014
cui/source/tabpages/page.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 545adb6bdbb2bb5d111f24d8f5b87ec5f262ffe8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Jul 1 14:21:12 2014 +0200
loplugin:literaltoboolconversion
Change-Id: I05c4c964e88f9123d75751c1eb7c8aae4d41f524
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index 477b412..76d2894 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)));
More information about the Libreoffice-commits
mailing list