Kaydet (Commit) 5b3c9314 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:literaltoboolconversion

Change-Id: Ifc003e3e986fbe79f8aff5a9edb05a7f22e0f24b
üst 2299b596
......@@ -1519,7 +1519,7 @@ void SwTextShell::GetState( SfxItemSet &rSet )
sal_uInt16 nHtmlMode = ::GetHtmlMode( GetView().GetDocShell() );
nHtmlMode &= HTMLMODE_ON | HTMLMODE_SOME_STYLES;
if ( ( nHtmlMode == HTMLMODE_ON )
|| !rSh.IsMoveLeftMargin( SID_INC_INDENT == nWhich, sal_True ) )
|| !rSh.IsMoveLeftMargin( SID_INC_INDENT == nWhich, true ) )
{
rSet.DisableItem( nWhich );
}
......
......@@ -210,7 +210,7 @@ void SwTextShell::ExecEnterNum(SfxRequest &rReq)
// If the Dialog was leaved with OK but nothing was chosen then the
// numbering must be at least activated, if it is not already.
else if ( pNumRuleAtCurrentSelection == NULL
&& SFX_ITEM_SET == aSet.GetItemState( SID_ATTR_NUMBERING_RULE, sal_False, &pItem ) )
&& SFX_ITEM_SET == aSet.GetItemState( SID_ATTR_NUMBERING_RULE, false, &pItem ) )
{
rReq.AppendItem( *pItem );
rReq.Done();
......@@ -246,7 +246,7 @@ void SwTextShell::ExecSetNumber(SfxRequest &rReq)
case FN_SVX_SET_NUMBER:
case FN_SVX_SET_BULLET:
{
SFX_REQUEST_ARG( rReq, pItem, SfxUInt16Item, nSlot, sal_False );
SFX_REQUEST_ARG( rReq, pItem, SfxUInt16Item, nSlot, false );
if ( pItem != NULL )
{
const sal_uInt16 nChoosenItemIdx = pItem->GetValue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment