[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - filter/source
Caolán McNamara
caolanm at redhat.com
Thu Mar 16 14:53:10 UTC 2017
filter/source/msfilter/svdfppt.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 8d28a387172ed36c7c06b377bbc7041ec0b825d9
Author: Caolán McNamara <caolanm at 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 <ci at libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice at 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() );
More information about the Libreoffice-commits
mailing list