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 /chart2 | |
parent | ec7af68a0d4c0d9b509f7267ba49be65dfc8732b (diff) |
Use comphelper::SequenceAsHashMap::getUnpackedValueOrDefault<bool>
...instead of ...<sal_Bool>; plus ensuing loplugin:implicitboolconversion
Change-Id: I5400e9d3175b9fe9b6088d37fe6bf3275314d7d0
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/InternalDataProvider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/InternalDataProvider.cxx b/chart2/source/tools/InternalDataProvider.cxx index 0a369a3c261f..39fdf185ae6b 100644 --- a/chart2/source/tools/InternalDataProvider.cxx +++ b/chart2/source/tools/InternalDataProvider.cxx @@ -1533,7 +1533,7 @@ sal_Bool SAL_CALL InternalDataProvider::isNotANumber( double nNumber ) void SAL_CALL InternalDataProvider::initialize(const uno::Sequence< uno::Any > & _aArguments) throw (uno::RuntimeException, uno::Exception, std::exception) { comphelper::SequenceAsHashMap aArgs(_aArguments); - if ( aArgs.getUnpackedValueOrDefault( "CreateDefaultData" ,sal_False) ) + if ( aArgs.getUnpackedValueOrDefault( "CreateDefaultData", false ) ) createDefaultData(); } // ____ XCloneable ____ |