summaryrefslogtreecommitdiff
path: root/indra/newview/llplacesinventorybridge.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-02-06 15:28:45 -0800
committerRichard Linden <none@none>2012-02-06 15:28:45 -0800
commit2ed1de224a45fafb12fea42e8dfb83f9728cdcf1 (patch)
treea78f96c5ada866ec93cbba72f2c7bf1daf7ade80 /indra/newview/llplacesinventorybridge.cpp
parent289d756ea86bd3898f41592146d8f549cd056846 (diff)
parente328dcf4062177c903d3099d0d16477824d23025 (diff)
Automated merge with http://hg.secondlife.com/viewer-development
Diffstat (limited to 'indra/newview/llplacesinventorybridge.cpp')
-rw-r--r--indra/newview/llplacesinventorybridge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llplacesinventorybridge.cpp b/indra/newview/llplacesinventorybridge.cpp
index 225ac6e224..fe4cc0f55f 100644
--- a/indra/newview/llplacesinventorybridge.cpp
+++ b/indra/newview/llplacesinventorybridge.cpp
@@ -89,7 +89,7 @@ void LLPlacesFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags)
std::vector<std::string> items;
std::vector<std::string> disabled_items;
- LLInventoryPanel* inv_panel = dynamic_cast<LLInventoryPanel*>(mInventoryPanel.get());
+ LLInventoryPanel* inv_panel = mInventoryPanel.get();
bool is_open = false;
if (inv_panel)
{
@@ -137,7 +137,7 @@ void LLPlacesFolderBridge::performAction(LLInventoryModel* model, std::string ac
LLFolderViewFolder* LLPlacesFolderBridge::getFolder()
{
LLFolderViewFolder* folder = NULL;
- LLInventoryPanel* inv_panel = dynamic_cast<LLInventoryPanel*>(mInventoryPanel.get());
+ LLInventoryPanel* inv_panel = mInventoryPanel.get();
if (inv_panel)
{
folder = dynamic_cast<LLFolderViewFolder*>(inv_panel->getRootFolder()->getItemByID(mUUID));