FIRE-35685: Exporting/importing access lists fails if path contains non-ASCII characters
parent
11c2e6acaf
commit
e309a58b62
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue