diff options
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 | { |