Kaydet (Commit) 04161ae4 authored tarafından Noel Grandin's avatar Noel Grandin

fix convertName2SQLName

after my commit 47bbe217
"untwist the logic in convertName2SQLName"

Change-Id: I3d365a24c538d8ecade2b6fe32fa739d8f4bd211
üst 47bbe217
......@@ -219,8 +219,8 @@ OUString convertName2SQLName(const OUString& rName,const OUString& _rSpecials)
OUStringBuffer aNewName(rName);
sal_Int32 nLength = rName.getLength();
for (sal_Int32 i=0; i < nLength; ++pStr,++i )
if(!isCharOk(*pStr,_rSpecials))
for (sal_Int32 i=0; i < nLength; ++i)
if(!isCharOk(aNewName[i],_rSpecials))
aNewName[i] = '_';
return aNewName.makeStringAndClear();
......
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