summaryrefslogtreecommitdiff
path: root/forms/source/richtext
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
parent07ea0e64f26ae4ba0a0474352df0bffb4409bd16 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I74cf43df85a878ee9af69901b2535f63461cb61e
Diffstat (limited to 'forms/source/richtext')
-rw-r--r--forms/source/richtext/featuredispatcher.cxx4
-rw-r--r--forms/source/richtext/richtextmodel.cxx2
-rw-r--r--forms/source/richtext/specialdispatchers.cxx6
3 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/richtext/featuredispatcher.cxx b/forms/source/richtext/featuredispatcher.cxx
index 1e0ec84b57db..30bb442ea414 100644
--- a/forms/source/richtext/featuredispatcher.cxx
+++ b/forms/source/richtext/featuredispatcher.cxx
@@ -96,10 +96,10 @@ namespace frm
FeatureStateEvent ORichTextFeatureDispatcher::buildStatusEvent() const
{
FeatureStateEvent aEvent;
- aEvent.IsEnabled = sal_False;
+ aEvent.IsEnabled = false;
aEvent.Source = *const_cast< ORichTextFeatureDispatcher* >( this );
aEvent.FeatureURL = getFeatureURL();
- aEvent.Requery = sal_False;
+ aEvent.Requery = false;
return aEvent;
}
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index c2faf06964e8..6ec032d2e381 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -605,7 +605,7 @@ namespace frm
sal_Int32 nHandle = PROPERTY_ID_TEXT;
Any aOldValue; aOldValue <<= m_sLastKnownEngineText;
Any aNewValue; aNewValue <<= sCurrentEngineText;
- fire( &nHandle, &aNewValue, &aOldValue, 1, sal_False );
+ fire( &nHandle, &aNewValue, &aOldValue, 1, false );
m_sLastKnownEngineText = sCurrentEngineText;
}
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;