summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewgesture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewgesture.cpp')
-rw-r--r--indra/newview/llpreviewgesture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpreviewgesture.cpp b/indra/newview/llpreviewgesture.cpp
index 9710fc8bf2..c556e3f450 100644
--- a/indra/newview/llpreviewgesture.cpp
+++ b/indra/newview/llpreviewgesture.cpp
@@ -504,7 +504,7 @@ BOOL LLPreviewGesture::postBuild()
addSounds();
- LLInventoryItem* item = getItem();
+ const LLInventoryItem* item = getItem();
if (item)
{
@@ -830,7 +830,7 @@ void LLPreviewGesture::initDefaultGesture()
void LLPreviewGesture::loadAsset()
{
- LLInventoryItem* item = getItem();
+ const LLInventoryItem* item = getItem();
if (!item) return;
LLUUID asset_id = item->getAssetUUID();
@@ -1100,7 +1100,7 @@ void LLPreviewGesture::saveIfNeeded()
file.write((U8*)buffer, size);
// Upload that asset to the database
- LLInventoryItem* item = getItem();
+ const LLInventoryItem* item = getItem();
if (item)
{
std::string agent_url = gAgent.getRegion()->getCapability("UpdateGestureAgentInventory");