diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2014-08-21 00:38:23 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-08-21 00:39:45 +0100 |
commit | d718c1f65f850f7897b942c2e4415110132e51a5 (patch) | |
tree | 1e18b83c1b875268773e2f3c6128989ae4a757b0 /basic/source/runtime | |
parent | e6369973702286d92bfc34ab8305d4a9bcf5c27e (diff) |
coverity#1202729 - ensure we have exactly a one dimensional array.
Change-Id: I6db8a2fb48ed7ce134a5c45c590c2ada0e19fc85
Diffstat (limited to 'basic/source/runtime')
-rw-r--r-- | basic/source/runtime/methods1.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index a4e16229a0db..255ffd121120 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -1714,6 +1714,7 @@ RTLFUNC(Join) if( pArr->GetDims() != 1 ) { StarBASIC::Error( SbERR_WRONG_DIMS ); // Syntax Error?! + return; } OUString aDelim; if( nParCount == 3 ) |