diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/lltexturefetch.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/newview/lltexturefetch.cpp')
-rw-r--r-- | linden/indra/newview/lltexturefetch.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/lltexturefetch.cpp b/linden/indra/newview/lltexturefetch.cpp index e412dfe..e945102 100644 --- a/linden/indra/newview/lltexturefetch.cpp +++ b/linden/indra/newview/lltexturefetch.cpp | |||
@@ -234,7 +234,7 @@ private: | |||
234 | /*virtual*/ void startWork(S32 param); // called from addWork() (MAIN THREAD) | 234 | /*virtual*/ void startWork(S32 param); // called from addWork() (MAIN THREAD) |
235 | /*virtual*/ void endWork(S32 param, bool aborted); // called from doWork() (MAIN THREAD) | 235 | /*virtual*/ void endWork(S32 param, bool aborted); // called from doWork() (MAIN THREAD) |
236 | 236 | ||
237 | virtual LLString getName() { return LLString::null; } | 237 | virtual std::string getName() { return LLStringUtil::null; } |
238 | void resetFormattedData(); | 238 | void resetFormattedData(); |
239 | 239 | ||
240 | void setImagePriority(F32 priority); | 240 | void setImagePriority(F32 priority); |
@@ -344,18 +344,18 @@ class LLTextureFetchLocalFileWorker : public LLTextureFetchWorker | |||
344 | friend class LLTextureFetch; | 344 | friend class LLTextureFetch; |
345 | 345 | ||
346 | protected: | 346 | protected: |
347 | LLTextureFetchLocalFileWorker(LLTextureFetch* fetcher, const LLString& filename, const LLUUID& id, const LLHost& host, | 347 | LLTextureFetchLocalFileWorker(LLTextureFetch* fetcher, const std::string& filename, const LLUUID& id, const LLHost& host, |
348 | F32 priority, S32 discard, S32 size) | 348 | F32 priority, S32 discard, S32 size) |
349 | : LLTextureFetchWorker(fetcher, id, host, priority, discard, size), | 349 | : LLTextureFetchWorker(fetcher, id, host, priority, discard, size), |
350 | mFileName(filename) | 350 | mFileName(filename) |
351 | {} | 351 | {} |
352 | 352 | ||
353 | private: | 353 | private: |
354 | /*virtual*/ LLString getName() { return mFileName; } | 354 | /*virtual*/ std::string getName() { return mFileName; } |
355 | 355 | ||
356 | 356 | ||
357 | private: | 357 | private: |
358 | LLString mFileName; | 358 | std::string mFileName; |
359 | }; | 359 | }; |
360 | 360 | ||
361 | 361 | ||
@@ -1315,10 +1315,10 @@ LLTextureFetch::~LLTextureFetch() | |||
1315 | bool LLTextureFetch::createRequest(const LLUUID& id, const LLHost& host, F32 priority, | 1315 | bool LLTextureFetch::createRequest(const LLUUID& id, const LLHost& host, F32 priority, |
1316 | S32 w, S32 h, S32 c, S32 desired_discard, bool needs_aux) | 1316 | S32 w, S32 h, S32 c, S32 desired_discard, bool needs_aux) |
1317 | { | 1317 | { |
1318 | return createRequest(LLString::null, id, host, priority, w, h, c, desired_discard, needs_aux); | 1318 | return createRequest(LLStringUtil::null, id, host, priority, w, h, c, desired_discard, needs_aux); |
1319 | } | 1319 | } |
1320 | 1320 | ||
1321 | bool LLTextureFetch::createRequest(const LLString& filename, const LLUUID& id, const LLHost& host, F32 priority, | 1321 | bool LLTextureFetch::createRequest(const std::string& filename, const LLUUID& id, const LLHost& host, F32 priority, |
1322 | S32 w, S32 h, S32 c, S32 desired_discard, bool needs_aux) | 1322 | S32 w, S32 h, S32 c, S32 desired_discard, bool needs_aux) |
1323 | { | 1323 | { |
1324 | if (mDebugPause) | 1324 | if (mDebugPause) |