diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-01-11 20:27:28 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-01-12 07:02:45 +0100 |
commit | a4d02f2522dd78c8f6a65b07e16638554dd4da97 (patch) | |
tree | b3a115d2b4ab9e4b01941afd02ae6d4b164409ff /filter | |
parent | teach useuniqueptr loplugin about "if(field != null) delete field" (diff) | |
download | core-a4d02f2522dd78c8f6a65b07e16638554dd4da97.tar.gz core-a4d02f2522dd78c8f6a65b07e16638554dd4da97.zip |
Fix OSL_ENSURE condition in msvbahelper.cxx
Change-Id: I13fceac8779e3000217b3d78281b8a351ba5e371
Reviewed-on: https://gerrit.libreoffice.org/47774
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/msfilter/msvbahelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index 286a352705bc..9640b8895c6f 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -545,7 +545,7 @@ uno::Sequence< OUString > SAL_CALL VBAMacroResolver::getSupportedServiceNames() void SAL_CALL VBAMacroResolver::initialize( const uno::Sequence< uno::Any >& rArgs ) { - OSL_ENSURE( rArgs.getLength() < 2, "VBAMacroResolver::initialize - missing arguments" ); + OSL_ENSURE( rArgs.getLength() > 1, "VBAMacroResolver::initialize - missing arguments" ); if( rArgs.getLength() < 2 ) throw uno::RuntimeException(); |