From 5e6bb3ba102aae5403e77c24d3d6bba1303c9b5b Mon Sep 17 00:00:00 2001 From: Ivan Femia Date: Thu, 5 Oct 2017 19:16:35 +0200 Subject: [PATCH] fix #434 --- src/zcl_excel_reader_2007.clas.abap | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/zcl_excel_reader_2007.clas.abap b/src/zcl_excel_reader_2007.clas.abap index ab69471..92f023a 100644 --- a/src/zcl_excel_reader_2007.clas.abap +++ b/src/zcl_excel_reader_2007.clas.abap @@ -533,14 +533,15 @@ METHOD get_dxf_style_guid. ls_cstylex-fill-filltype = 'X'. ls_cstylex-fill-bgcolor-rgb = 'X'. ENDIF. - ENDIF. - CLEAR lv_val. - lv_val = lo_ixml_element2->get_attribute_ns( 'theme' ). - IF lv_val IS NOT INITIAL. - ls_cstyle-fill-filltype = zcl_excel_style_fill=>c_fill_solid. - ls_cstyle-fill-bgcolor-theme = lv_val. - ls_cstylex-fill-filltype = 'X'. - ls_cstylex-fill-bgcolor-theme = 'X'. + CLEAR lv_val. + lv_val = lo_ixml_element2->get_attribute_ns( 'theme' ). + IF lv_val IS NOT INITIAL. + ls_cstyle-fill-filltype = zcl_excel_style_fill=>c_fill_solid. + ls_cstyle-fill-bgcolor-theme = lv_val. + ls_cstylex-fill-filltype = 'X'. + ls_cstylex-fill-bgcolor-theme = 'X'. + ENDIF. + CLEAR lv_val. ENDIF. ENDIF.