diff --git a/src/common/imagxpm.cpp b/src/common/imagxpm.cpp index d46b11898a..22584d6655 100644 --- a/src/common/imagxpm.cpp +++ b/src/common/imagxpm.cpp @@ -141,7 +141,6 @@ bool wxXPMHandler::SaveFile(wxImage * image, // 3. create color symbols table: wxHashTable table(wxKEY_INTEGER); - table.DeleteContents(TRUE); image->ComputeHistogram(table); char *symbols_data = new char[cols * (chars_per_pixel+1)];