summaryrefslogtreecommitdiffstats
path: root/forms/source/richtext/specialdispatchers.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:41 +0200
commitbfb185c408f6630d17bdcf9243666cc1b0af5bd7 (patch)
treee560fa416aa23d5a043e7126e41fb63811a402a5 /forms/source/richtext/specialdispatchers.cxx
parentloplugin:salbool: Automatic rewrite of sal_False/True (diff)
downloadcore-bfb185c408f6630d17bdcf9243666cc1b0af5bd7.tar.gz
core-bfb185c408f6630d17bdcf9243666cc1b0af5bd7.zip
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I74cf43df85a878ee9af69901b2535f63461cb61e
Diffstat (limited to 'forms/source/richtext/specialdispatchers.cxx')
-rw-r--r--forms/source/richtext/specialdispatchers.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx
index fd9be3973820..a745bb45caf4 100644
--- a/forms/source/richtext/specialdispatchers.cxx
+++ b/forms/source/richtext/specialdispatchers.cxx
@@ -78,7 +78,7 @@ namespace frm
FeatureStateEvent OSelectAllDispatcher::buildStatusEvent() const
{
FeatureStateEvent aEvent( ORichTextFeatureDispatcher::buildStatusEvent() );
- aEvent.IsEnabled = sal_True;
+ aEvent.IsEnabled = true;
return aEvent;
}
@@ -96,7 +96,7 @@ namespace frm
EditEngine* pEngine = getEditView() ? getEditView()->GetEditEngine() : nullptr;
OSL_ENSURE( pEngine, "OParagraphDirectionDispatcher::dispatch: no edit engine - but not yet disposed?" );
if ( pEngine && pEngine->IsVertical() )
- aEvent.IsEnabled = sal_False;
+ aEvent.IsEnabled = false;
return aEvent;
}
@@ -131,7 +131,7 @@ namespace frm
EditEngine* pEngine = getEditView() ? getEditView()->GetEditEngine() : nullptr;
OSL_ENSURE( pEngine, "OTextDirectionDispatcher::dispatch: no edit engine - but not yet disposed?" );
- aEvent.IsEnabled = sal_True;
+ aEvent.IsEnabled = true;
aEvent.State <<= pEngine && pEngine->IsVertical();
return aEvent;