diff options
author | Jörg Barfurth <jb@openoffice.org> | 2001-05-18 14:09:51 +0000 |
---|---|---|
committer | Jörg Barfurth <jb@openoffice.org> | 2001-05-18 14:09:51 +0000 |
commit | 72bf25647f93cd40f4e6c62b09f89e55c0013cae (patch) | |
tree | 549172355535601fadf6c3ee2baee4a9c8a7f93e /configmgr/source/xml/valueconverter.cxx | |
parent | 043f828734f8ffdf0d978a4ce2e315cb2f8b40ab (diff) |
#87213# Added special treatment for empty data when tokenizing with non-white separator
Diffstat (limited to 'configmgr/source/xml/valueconverter.cxx')
-rw-r--r-- | configmgr/source/xml/valueconverter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/xml/valueconverter.cxx b/configmgr/source/xml/valueconverter.cxx index d645a5955e4c..fe8105ffe3dd 100644 --- a/configmgr/source/xml/valueconverter.cxx +++ b/configmgr/source/xml/valueconverter.cxx @@ -2,9 +2,9 @@ * * $RCSfile: valueconverter.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: lla $ $Date: 2001-05-16 09:57:37 $ + * last change: $Author: jb $ $Date: 2001-05-18 15:09:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -502,7 +502,7 @@ namespace sal_Int32 findFirstTokenStart(OUString const& sText) const throw() { - return 0; + return sText.getLength() ? 0 : NO_MORE_TOKENS; } sal_Int32 findNextTokenStart(OUString const& sText, sal_Int32 nPrevTokenEnd) const throw() { |