diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-23 17:03:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-23 17:03:58 +0200 |
commit | ac1130130b50c6e047629e4387f8bbabe4241494 (patch) | |
tree | 6d02203b089066a45a2e008d6357d935c1e8d7fa /framework/source/jobs | |
parent | ec7af68a0d4c0d9b509f7267ba49be65dfc8732b (diff) |
Use comphelper::SequenceAsHashMap::getUnpackedValueOrDefault<bool>
...instead of ...<sal_Bool>; plus ensuing loplugin:implicitboolconversion
Change-Id: I5400e9d3175b9fe9b6088d37fe6bf3275314d7d0
Diffstat (limited to 'framework/source/jobs')
-rw-r--r-- | framework/source/jobs/shelljob.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx index 0342061beaab..93a4f6ad01fa 100644 --- a/framework/source/jobs/shelljob.cxx +++ b/framework/source/jobs/shelljob.cxx @@ -88,8 +88,8 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N const OUString sCommand = lOwnCfg.getUnpackedValueOrDefault(PROP_COMMAND , OUString()); const css::uno::Sequence< OUString > lCommandArguments = lOwnCfg.getUnpackedValueOrDefault(PROP_ARGUMENTS , css::uno::Sequence< OUString >()); - const bool bDeactivateJobIfDone = lOwnCfg.getUnpackedValueOrDefault(PROP_DEACTIVATEJOBIFDONE , sal_True ); - const bool bCheckExitCode = lOwnCfg.getUnpackedValueOrDefault(PROP_CHECKEXITCODE , sal_True ); + const bool bDeactivateJobIfDone = lOwnCfg.getUnpackedValueOrDefault(PROP_DEACTIVATEJOBIFDONE , true ); + const bool bCheckExitCode = lOwnCfg.getUnpackedValueOrDefault(PROP_CHECKEXITCODE , true ); // replace all might existing place holder. OUString sRealCommand = impl_substituteCommandVariables(sCommand); |