summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/uibase/shells/textsh1.cxx2
-rw-r--r--sw/source/core/uibase/shells/txtnum.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/uibase/shells/textsh1.cxx b/sw/source/core/uibase/shells/textsh1.cxx
index 581c239a1f76..05fccf2ec750 100644
--- a/sw/source/core/uibase/shells/textsh1.cxx
+++ b/sw/source/core/uibase/shells/textsh1.cxx
@@ -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 );
}
diff --git a/sw/source/core/uibase/shells/txtnum.cxx b/sw/source/core/uibase/shells/txtnum.cxx
index f5552272edeb..1d211b6efb4f 100644
--- a/sw/source/core/uibase/shells/txtnum.cxx
+++ b/sw/source/core/uibase/shells/txtnum.cxx
@@ -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();