[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/functions
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2010-01-04 13:12:37
Message-ID: 1262610757.008109.7814.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1069936 by sebsauer:

Fix display #value error ratrher then #na error like oo.org.


 M  +1 -1      text.cpp  


--- trunk/koffice/kspread/functions/text.cpp #1069935:1069936
@@ -336,7 +336,7 @@
     if (start_num > (int)within_text.length()) return Value::errorVALUE();
 
     int pos = within_text.indexOf(find_text, start_num - 1);
-    if (pos < 0) return Value::errorNA();
+    if (pos < 0) return Value::errorVALUE();
 
     return Value(pos + 1);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic