DataSetColumn.st
changeset 6139 9d008b425719
parent 6042 65ee63cf658e
child 6223 7cc3b7c3bfce
--- a/DataSetColumn.st	Sun Sep 08 16:03:27 2019 +0200
+++ b/DataSetColumn.st	Sun Sep 08 16:04:20 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG
               All Rights Reserved
@@ -1090,7 +1092,7 @@
 
     readSelector isBlock ifTrue:[
         "/ I don't use valueWithOptionalArgument:and:and:and: here, to make better use of inline caches...
-        numArgs := readSelector numArgs.
+        numArgs := readSelector argumentCount.
         numArgs == 0 ifTrue:[
             ^ readSelector value
         ].
@@ -1139,7 +1141,7 @@
         ].
     ].
 
-    numArgs := writeSelector numArgs.
+    numArgs := writeSelector argumentCount.
 
     writeSelector isBlock ifTrue:[
         numArgs == 2 ifTrue:[