FIRE-35685: Exporting/importing access lists fails if path contains non-ASCII characters

master
Ansariel 2025-07-11 21:19:59 +02:00
parent 11c2e6acaf
commit e309a58b62
2 changed files with 4 additions and 4 deletions

View File

@ -3326,7 +3326,7 @@ void LLPanelLandAccess::exportListCallback(LLNameListCtrl* list, const std::vect
}
std::string filename = filenames[0];
std::ofstream file(filename.c_str());
llofstream file(filename.c_str());
if (!file.is_open())
{
LLNotificationsUtil::add("ExportFailed");
@ -3383,7 +3383,7 @@ void LLPanelLandAccess::importListCallback(LLNameListCtrl* list, const std::vect
std::string filename = filenames[0];
std::ifstream file(filename.c_str());
llifstream file(filename.c_str());
if (!file.is_open())
{
return;

View File

@ -4678,7 +4678,7 @@ void LLPanelEstateAccess::exportListCallback(LLNameListCtrl* list, const std::ve
}
std::string filename = filenames[0];
std::ofstream file(filename.c_str());
llofstream file(filename.c_str());
if (!file.is_open())
{
LLNotificationsUtil::add("ExportFailed");
@ -4761,7 +4761,7 @@ void LLPanelEstateAccess::importListCallback(LLNameListCtrl* list, const std::ve
std::string filename = filenames[0];
std::ifstream file(filename.c_str());
llifstream file(filename.c_str());
if (!file.is_open())
{
return;