summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewtexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewtexture.cpp')
-rw-r--r--indra/newview/llpreviewtexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpreviewtexture.cpp b/indra/newview/llpreviewtexture.cpp
index 214b3e38f8..974ee27476 100644
--- a/indra/newview/llpreviewtexture.cpp
+++ b/indra/newview/llpreviewtexture.cpp
@@ -47,7 +47,7 @@ LLPreviewTexture::LLPreviewTexture(const std::string& name,
mLastHeight(0),
mLastWidth(0)
{
- LLInventoryItem *item = getItem();
+ const LLInventoryItem *item = getItem();
if(item)
{
mImageID = item->getAssetUUID();
@@ -157,7 +157,7 @@ void LLPreviewTexture::init()
if (!mCopyToInv)
{
- LLInventoryItem* item = getItem();
+ const LLInventoryItem* item = getItem();
if (item)
{