Hello, Sorry for this dumb question but why the token count is initialized at 1 and not at 0 in these: 1) tmpl_getTokenCount http://opengrok.libreoffice.org/xref/core/comphelper/source/misc/string.cxx#117 ()
2) ScStringUtil::GetQuotedTokenCount http://opengrok.libreoffice.org/xref/core/sc/source/core/tool/stringutil.cxx#353 If the pattern isn't found, the return shouldn't be 0 instead of 1? (I suppose it works but don't understand the logic) Julien -- View this message in context: http://nabble.documentfoundation.org/About-initial-value-of-token-counting-tp4146131.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice
