- size_t aNextStart = theName.find('[', aStart + 1);
- while(aNextStart != std::string::npos && aNextStart < anEndPos) {
- anEndPos = theName.find(']', anEndPos + 1);
- if (anEndPos == std::string::npos) {
+ size_t aNextStart = theName.find(L'[', aStart + 1);
+ while(aNextStart != std::wstring::npos && aNextStart < anEndPos) {
+ anEndPos = theName.find(L']', anEndPos + 1);
+ if (anEndPos == std::wstring::npos) {