diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-06-26 00:39:00 +0000 |
commit | 25c10ed028da5c547b11f1f461916897272b0e6d (patch) | |
tree | 350a5858f8970b6e28b2dc395625d74d8bd597b2 /indra/newview/llurlhistory.cpp | |
parent | 6dd125d375b38455997a0c4b8747659f4c2351aa (diff) |
QAR-628 merge string-cleanup-5 -r 90476:90508 -> release
dataserver-is-deprecated
Diffstat (limited to 'indra/newview/llurlhistory.cpp')
-rw-r--r-- | indra/newview/llurlhistory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llurlhistory.cpp b/indra/newview/llurlhistory.cpp index d5241a4e98..902ab88688 100644 --- a/indra/newview/llurlhistory.cpp +++ b/indra/newview/llurlhistory.cpp @@ -43,13 +43,13 @@ const int MAX_URL_COUNT = 10; ///////////////////////////////////////////////////////////////////////////// // static -bool LLURLHistory::loadFile(const LLString& filename) +bool LLURLHistory::loadFile(const std::string& filename) { LLSD data; { - LLString temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); + std::string temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); - llifstream file((temp_str + filename).c_str()); + llifstream file((temp_str + filename)); if (file.is_open()) { @@ -71,10 +71,10 @@ bool LLURLHistory::loadFile(const LLString& filename) } // static -bool LLURLHistory::saveFile(const LLString& filename) +bool LLURLHistory::saveFile(const std::string& filename) { - LLString temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); - llofstream out((temp_str + filename).c_str()); + std::string temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); + llofstream out((temp_str + filename)); if (!out.good()) { llwarns << "Unable to open " << filename << " for output." << llendl; |