Use std::min + rename Ende to End
Use std::min + rename Ende to End

Change-Id: I835d661a5bd30c235fdf61a94ad73f85b57bf9ed

JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core