From 2f9732137854a81799bb42c843fce7efa75af7dc Mon Sep 17 00:00:00 2001 From: sandraros Date: Thu, 5 May 2022 18:24:52 +0000 Subject: [PATCH] Fix regression --- src/zcl_excel.clas.abap | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zcl_excel.clas.abap b/src/zcl_excel.clas.abap index f4bba80..2e8d7bf 100644 --- a/src/zcl_excel.clas.abap +++ b/src/zcl_excel.clas.abap @@ -501,15 +501,15 @@ CLASS zcl_excel IMPLEMENTATION. WHILE lo_iterator->has_next( ) = abap_true. lo_style ?= lo_iterator->get_next( ). IF lo_style->get_guid( ) = ip_guid. + IF ip_conv_class_to_struct = abap_true. + zcl_excel_common=>recursive_class_to_struct( EXPORTING i_source = lo_style + CHANGING e_target = es_stylemapping-complete_style + e_targetx = es_stylemapping-complete_stylex ). + ENDIF. eo_style = lo_style. RETURN. ENDIF. ENDWHILE. - IF lo_style IS BOUND AND ip_conv_class_to_struct = abap_true. - zcl_excel_common=>recursive_class_to_struct( EXPORTING i_source = lo_style - CHANGING e_target = es_stylemapping-complete_style - e_targetx = es_stylemapping-complete_stylex ). - ENDIF. ENDIF. ENDMETHOD.