diff options
author | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:58 -0500 |
commit | 089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch) | |
tree | 0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/newview/llpreviewtexture.cpp | |
parent | Second Life viewer sources 1.16.0.5 (diff) | |
download | meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2 meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz |
Second Life viewer sources 1.17.0.12
Diffstat (limited to 'linden/indra/newview/llpreviewtexture.cpp')
-rw-r--r-- | linden/indra/newview/llpreviewtexture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llpreviewtexture.cpp b/linden/indra/newview/llpreviewtexture.cpp index b59846d..af727b9 100644 --- a/linden/indra/newview/llpreviewtexture.cpp +++ b/linden/indra/newview/llpreviewtexture.cpp | |||
@@ -67,7 +67,7 @@ LLPreviewTexture::LLPreviewTexture(const std::string& name, | |||
67 | mLastHeight(0), | 67 | mLastHeight(0), |
68 | mLastWidth(0) | 68 | mLastWidth(0) |
69 | { | 69 | { |
70 | LLInventoryItem *item = getItem(); | 70 | const LLInventoryItem *item = getItem(); |
71 | if(item) | 71 | if(item) |
72 | { | 72 | { |
73 | mImageID = item->getAssetUUID(); | 73 | mImageID = item->getAssetUUID(); |
@@ -177,7 +177,7 @@ void LLPreviewTexture::init() | |||
177 | 177 | ||
178 | if (!mCopyToInv) | 178 | if (!mCopyToInv) |
179 | { | 179 | { |
180 | LLInventoryItem* item = getItem(); | 180 | const LLInventoryItem* item = getItem(); |
181 | 181 | ||
182 | if (item) | 182 | if (item) |
183 | { | 183 | { |