Kaydet (Commit) 0009579f authored tarafından Caolán McNamara's avatar Caolán McNamara

why insert a '.' just to then erase it ?

üst 7a9ee716
......@@ -848,10 +848,10 @@ static void AddInternal(
{
//! TL TODO: word iterator should be used to break up the text
static const char aDefWordDelim[] =
"!\"#$%&'()*+,-./:;<=>?[]\\_^`{|}~\t \n";
String aDelim =
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(aDefWordDelim));
aDelim.EraseAllChars( '.' );
"!\"#$%&'()*+,-/:;<=>?[]\\_^`{|}~\t \n";
rtl::OUString aDelim(RTL_CONSTASCII_USTRINGPARAM(aDefWordDelim));
OSL_ENSURE(aDelim.indexOf(static_cast<sal_Unicode>('.')) == -1,
"ensure no '.'");
String aToken;
xub_StrLen nPos = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment