don't use delete with remove_if, related fdo#54498
don't use delete with remove_if, related fdo#54498

Change-Id: I508ceb8dfe13fbfe54b4262d26bd215462c90c40

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