#include <Selector_NameGenerator.h>
+#include <Locale_Convert.h>
+
#include <TNaming_NamedShape.hxx>
#include <TDataStd_Name.hxx>
std::wstring aResult = theNameGenerator->contextName(myFinal);
if (!aResult.empty()) {
aResult += L"/";
- aResult += ((wchar_t*)aName->Get().ToExtString());
+ aResult += Locale::Convert::toWString(aName->Get().ToExtString());
}
return aResult;
}