filter/source/msfilter/svdfppt.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 8d28a387172ed36c7c06b377bbc7041ec0b825d9
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Mar 16 09:13:13 2017 +0000

    ofz#876 avoid accessing empty rows
    
    (cherry picked from commit b9892037c303e645ee1a987d80734361700d91ac)
    
    Change-Id: Iba539fb03611bbe5627cc7976c1146d08a2ab5fd
    Reviewed-on: https://gerrit.libreoffice.org/35256
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com>

diff --git a/filter/source/msfilter/svdfppt.cxx 
b/filter/source/msfilter/svdfppt.cxx
index 74054409fe97..4195188fe2be 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -7562,6 +7562,10 @@ SdrObject* SdrPowerPointImport::CreateTable( SdrObject* 
pGroup, sal_uInt32* pTab
                     aColumns.insert( aSnapRect.Left() );
                 }
             }
+
+            if (aRows.empty())
+                return pRet;
+
             sdr::table::SdrTableObj* pTable = new sdr::table::SdrTableObj( 
pSdrModel );
             pTable->uno_lock();
             Reference< XTable > xTable( pTable->getTable() );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to