#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sun, 05 Jan 2020 17:25:40 +0100
changeset 8958 809f4e8a2ce7
parent 8957 2eed7c24eda7
child 8959 1ae921a9bff2
#REFACTORING by exept class: ImageReader class changed: #writingFile:for:do:
ImageReader.st
--- a/ImageReader.st	Wed Jan 01 15:19:44 2020 +0100
+++ b/ImageReader.st	Sun Jan 05 17:25:40 2020 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1991 by Claus Gittinger
 	      All Rights Reserved
@@ -2391,7 +2393,7 @@
         stream := aFileName asFilename newReadWriteStream.
         aBlock value:stream.
         done := true.
-    ] on:FileStream openErrorSignal do:[:ex|
+    ] on:OpenError do:[:ex|
         Image fileCreationErrorSignal
             raiseWith:something
             errorString:('file creation error: ' , ex description).