summaryrefslogtreecommitdiff
path: root/indra/newview/llautoreplace.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-04-10 11:02:37 -0400
committerOz Linden <oz@lindenlab.com>2015-04-10 11:02:37 -0400
commit5c6cf3e7fb9f592e3a293921175b64b515bac23f (patch)
tree15933c1910c4b337e0c181434b6d653628f62eed /indra/newview/llautoreplace.cpp
parent6b9b4c91d122dccabf7541af70ed68a623ad8810 (diff)
restore the ll[io]fstream because we need them as wrappers on Windows for wide char paths; on other platforms they are now just typedefs to the std classes
Diffstat (limited to 'indra/newview/llautoreplace.cpp')
-rwxr-xr-xindra/newview/llautoreplace.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llautoreplace.cpp b/indra/newview/llautoreplace.cpp
index 62e32eac00..dd9354fe3a 100755
--- a/indra/newview/llautoreplace.cpp
+++ b/indra/newview/llautoreplace.cpp
@@ -148,7 +148,7 @@ void LLAutoReplace::loadFromSettings()
if(gDirUtilp->fileExists(filename))
{
LLSD userSettings;
- std::ifstream file;
+ llifstream file;
file.open(filename.c_str());
if (file.is_open())
{
@@ -173,7 +173,7 @@ void LLAutoReplace::loadFromSettings()
if(gDirUtilp->fileExists(defaultName))
{
LLSD appDefault;
- std::ifstream file;
+ llifstream file;
file.open(defaultName.c_str());
if (file.is_open())
{
@@ -209,7 +209,7 @@ void LLAutoReplace::loadFromSettings()
void LLAutoReplace::saveToUserSettings()
{
std::string filename=getUserSettingsFileName();
- std::ofstream file;
+ llofstream file;
file.open(filename.c_str());
LLSDSerialize::toPrettyXML(mSettings.asLLSD(), file);
file.close();