mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 13:46:17 +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.
|
CREATE OBJECT lo_linechart.
|
||||||
me->graph = lo_linechart.
|
me->graph = lo_linechart.
|
||||||
WHEN OTHERS.
|
WHEN OTHERS.
|
||||||
|
RETURN.
|
||||||
ENDCASE.
|
ENDCASE.
|
||||||
|
|
||||||
"Fill properties
|
"Fill properties
|
||||||
|
|
|
@ -803,6 +803,7 @@ CLASS zcl_excel_reader_2007 IMPLEMENTATION.
|
||||||
ip_height = ls_size-height ).
|
ip_height = ls_size-height ).
|
||||||
|
|
||||||
IF drawing_type = zcl_excel_drawing=>type_chart.
|
IF drawing_type = zcl_excel_drawing=>type_chart.
|
||||||
|
lo_drawing->graph_type = 255.
|
||||||
* Begin fix for Issue #551
|
* Begin fix for Issue #551
|
||||||
DATA: lo_tmp_node_2 TYPE REF TO if_ixml_element.
|
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 ).
|
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