mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 10:56:14 +08:00
avoid short dump when unknown type of chart
This commit is contained in:
parent
07340621a2
commit
79da0a52da
|
@ -405,6 +405,7 @@ CLASS ZCL_EXCEL_DRAWING IMPLEMENTATION.
|
|||
CREATE OBJECT lo_linechart.
|
||||
me->graph = lo_linechart.
|
||||
WHEN OTHERS.
|
||||
RETURN.
|
||||
ENDCASE.
|
||||
|
||||
"Fill properties
|
||||
|
|
|
@ -803,6 +803,7 @@ CLASS zcl_excel_reader_2007 IMPLEMENTATION.
|
|||
ip_height = ls_size-height ).
|
||||
|
||||
IF drawing_type = zcl_excel_drawing=>type_chart.
|
||||
lo_drawing->graph_type = 255.
|
||||
* Begin fix for Issue #551
|
||||
DATA: lo_tmp_node_2 TYPE REF TO if_ixml_element.
|
||||
lo_tmp_node_2 ?= rel_drawing-content_xml->find_from_name_ns( name = 'pieChart' uri = namespace-c ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user