summaryrefslogtreecommitdiff
path: root/xmloff/source/draw
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-15 11:47:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-15 11:46:19 +0100
commit1624c674c01fdb2d9ce4a86fa79475224038887e (patch)
tree789e4ac6a5c16132c7858a7de8261382bd727c63 /xmloff/source/draw
parent723a2623bd11c51d506873862893ee4009caaab1 (diff)
remove assert which crashes ooo119798-1.ppt
with command line ./instdir/program/soffice --headless --convert-to odp ooo119798-1.ppt Added with commit 5080bb930de3ecfce8ab78bbd23a9d48c2f2bfa0 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Sat Aug 29 11:19:28 2020 +0200 convert SvXMLImport to fastparser, drop slowparser paths which helped me track down a problem, but apparently this happens with some broken files Change-Id: I2866daa2c93ffe01f89120f19e0ea0056ee50605 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107742 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw')
-rw-r--r--xmloff/source/draw/shapeexport.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 8ff9105412ce..7ce06f1edeb7 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2498,7 +2498,6 @@ void XMLShapeExport::ImpExportControlShape(
if( xControlModel.is() )
{
OUString sControlId = mrExport.GetFormExport()->getControlId( xControlModel );
- assert(!sControlId.isEmpty());
mrExport.AddAttribute( XML_NAMESPACE_DRAW, XML_CONTROL, sControlId );
}
}