[Libreoffice-commits] core.git: basic/source

Michael Meeks michael.meeks at collabora.com
Wed Aug 20 16:36:55 PDT 2014


 basic/source/runtime/methods1.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit d718c1f65f850f7897b942c2e4415110132e51a5
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Aug 21 00:38:23 2014 +0100

    coverity#1202729 - ensure we have exactly a one dimensional array.
    
    Change-Id: I6db8a2fb48ed7ce134a5c45c590c2ada0e19fc85

diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index a4e1622..255ffd1 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 )


More information about the Libreoffice-commits mailing list