summaryrefslogtreecommitdiff
path: root/indra/newview/llpanellandmarks.cpp
diff options
context:
space:
mode:
authorSergei Litovchuk <slitovchuk@productengine.com>2010-02-22 20:58:50 +0200
committerSergei Litovchuk <slitovchuk@productengine.com>2010-02-22 20:58:50 +0200
commit56578ae0b08e03dffcf4d9a8fadccb6ee9ad6a05 (patch)
treeaca876ba4ed35be9e48ecff868611ae8cb493b65 /indra/newview/llpanellandmarks.cpp
parent311f5ff209f1784630fc3b95c34adc47d0e85148 (diff)
Minor code cleanup.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanellandmarks.cpp')
-rw-r--r--indra/newview/llpanellandmarks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpanellandmarks.cpp b/indra/newview/llpanellandmarks.cpp
index 01fbf6f7fc..45a8dc4cbe 100644
--- a/indra/newview/llpanellandmarks.cpp
+++ b/indra/newview/llpanellandmarks.cpp
@@ -865,7 +865,7 @@ bool LLLandmarksPanel::isActionEnabled(const LLSD& userdata) const
{
std::string command_name = userdata.asString();
- LLPlacesFolderView* rootFolderView = mCurrentSelectedList ?
+ LLPlacesFolderView* root_folder_view = mCurrentSelectedList ?
static_cast<LLPlacesFolderView*>(mCurrentSelectedList->getRootFolder()) : NULL;
if ("collapse_all" == command_name)
@@ -917,7 +917,7 @@ bool LLLandmarksPanel::isActionEnabled(const LLSD& userdata) const
return false;
}
}
- else if (!rootFolderView)
+ else if (!root_folder_view)
{
return false;
}
@@ -940,7 +940,7 @@ bool LLLandmarksPanel::isActionEnabled(const LLSD& userdata) const
)
{
// disable some commands for multi-selection. EXT-1757
- if (rootFolderView->getSelectedCount() > 1)
+ if (root_folder_view->getSelectedCount() > 1)
{
return false;
}