summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index b27d33b0e6..27badfb1dd 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -503,7 +503,7 @@ void handle_compress_image(void*)
}
else
{
- llinfos << "Compression failed: " << LLImageBase::getLastError() << llendl;
+ llinfos << "Compression failed: " << LLImage::getLastError() << llendl;
}
infile = picker.getNextFile();
@@ -554,9 +554,9 @@ void upload_new_resource(const std::string& src_filename, std::string name,
IMG_CODEC_BMP ))
{
error_message = llformat( "Problem with file %s:\n\n%s\n",
- src_filename.c_str(), LLImageBase::getLastError().c_str());
+ src_filename.c_str(), LLImage::getLastError().c_str());
args["[FILE]"] = src_filename;
- args["[ERROR]"] = LLImageBase::getLastError();
+ args["[ERROR]"] = LLImage::getLastError();
upload_error(error_message, "ProblemWithFile", filename, args);
return;
}
@@ -569,9 +569,9 @@ void upload_new_resource(const std::string& src_filename, std::string name,
IMG_CODEC_TGA ))
{
error_message = llformat("Problem with file %s:\n\n%s\n",
- src_filename.c_str(), LLImageBase::getLastError().c_str());
+ src_filename.c_str(), LLImage::getLastError().c_str());
args["[FILE]"] = src_filename;
- args["[ERROR]"] = LLImageBase::getLastError();
+ args["[ERROR]"] = LLImage::getLastError();
upload_error(error_message, "ProblemWithFile", filename, args);
return;
}
@@ -584,9 +584,9 @@ void upload_new_resource(const std::string& src_filename, std::string name,
IMG_CODEC_JPEG ))
{
error_message = llformat("Problem with file %s:\n\n%s\n",
- src_filename.c_str(), LLImageBase::getLastError().c_str());
+ src_filename.c_str(), LLImage::getLastError().c_str());
args["[FILE]"] = src_filename;
- args["[ERROR]"] = LLImageBase::getLastError();
+ args["[ERROR]"] = LLImage::getLastError();
upload_error(error_message, "ProblemWithFile", filename, args);
return;
}
@@ -599,9 +599,9 @@ void upload_new_resource(const std::string& src_filename, std::string name,
IMG_CODEC_PNG ))
{
error_message = llformat("Problem with file %s:\n\n%s\n",
- src_filename.c_str(), LLImageBase::getLastError().c_str());
+ src_filename.c_str(), LLImage::getLastError().c_str());
args["[FILE]"] = src_filename;
- args["[ERROR]"] = LLImageBase::getLastError();
+ args["[ERROR]"] = LLImage::getLastError();
upload_error(error_message, "ProblemWithFile", filename, args);
return;
}