summaryrefslogtreecommitdiff
path: root/framework/source/jobs
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-20 17:17:17 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-20 17:25:42 +0200
commited467869d8010b51d1f76c86b3628e23ec434655 (patch)
tree5724a5f680f49a1629613f4b87d4a2ae39153e29 /framework/source/jobs
parent4d31d08215d2ed9062319c0caa55130029e5d0d8 (diff)
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: Idf27ee5370f1fa24adf22908d9e801c7d40db935
Diffstat (limited to 'framework/source/jobs')
-rw-r--r--framework/source/jobs/job.cxx6
-rw-r--r--framework/source/jobs/shelljob.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/jobs/job.cxx b/framework/source/jobs/job.cxx
index 527c4545c5da..b2e3ab30dcc7 100644
--- a/framework/source/jobs/job.cxx
+++ b/framework/source/jobs/job.cxx
@@ -240,7 +240,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
{
try
{
- xClose->close(sal_True);
+ xClose->close(true);
}
catch(const css::util::CloseVetoException&) {}
}
@@ -254,7 +254,7 @@ void Job::execute( /*IN*/ const css::uno::Sequence< css::beans::NamedValue >& lD
{
try
{
- xClose->close(sal_True);
+ xClose->close(true);
}
catch(const css::util::CloseVetoException&) {}
}
@@ -668,7 +668,7 @@ void SAL_CALL Job::queryTermination( /*IN*/ const css::lang::EventObject& ) thro
{
try
{
- xClose->close(sal_False);
+ xClose->close(false);
m_eRunState = E_STOPPED_OR_FINISHED;
}
catch(const css::util::CloseVetoException&) {}
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index b415cedef409..a3394e0ce1c9 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -117,7 +117,7 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N
css::uno::Any ShellJob::impl_generateAnswer4Deactivation()
{
- css::uno::Sequence< css::beans::NamedValue > aAnswer { { JobConst::ANSWER_DEACTIVATE_JOB(), css::uno::makeAny(sal_True) } };
+ css::uno::Sequence< css::beans::NamedValue > aAnswer { { JobConst::ANSWER_DEACTIVATE_JOB(), css::uno::makeAny(true) } };
return css::uno::makeAny(aAnswer);
}