summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2018-01-11 20:27:28 +0100
committerJulien Nabet <serval2412@yahoo.fr>2018-01-12 07:02:45 +0100
commita4d02f2522dd78c8f6a65b07e16638554dd4da97 (patch)
treeb3a115d2b4ab9e4b01941afd02ae6d4b164409ff /filter
parent22bba5f377b9261fd2aecf3a20a9fc59e5d9fda3 (diff)
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.cxx2
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();