summaryrefslogtreecommitdiff
path: root/indra/newview/llinventoryfilter.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-03-01 21:35:05 -0800
committerMerov Linden <merov@lindenlab.com>2012-03-01 21:35:05 -0800
commitf0a1b43f2270cb8424409babf5ae88233cdd8f6c (patch)
treefc67305db3f0f1242b95616344c802d07a42bab3 /indra/newview/llinventoryfilter.cpp
parent24789f11cc58cf7c03283a8e9648085a5cb9d7d8 (diff)
EXP-1841 : Use instance instead of getInstance on LLClipboard singleton.
Diffstat (limited to 'indra/newview/llinventoryfilter.cpp')
-rw-r--r--indra/newview/llinventoryfilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llinventoryfilter.cpp b/indra/newview/llinventoryfilter.cpp
index c127d7ac88..ccb9e74a8e 100644
--- a/indra/newview/llinventoryfilter.cpp
+++ b/indra/newview/llinventoryfilter.cpp
@@ -322,13 +322,13 @@ bool LLInventoryFilter::checkAgainstFilterType(const LLInventoryItem* item) cons
// is on the clipboard must be filtered out if the clipboard is in the "cut" mode.
bool LLInventoryFilter::checkAgainstClipboard(const LLUUID& object_id) const
{
- if (LLClipboard::getInstance()->isCutMode())
+ if (LLClipboard::instance().isCutMode())
{
LLUUID current_id = object_id;
LLInventoryObject *current_object = gInventory.getObject(object_id);
while (current_id.notNull() && current_object)
{
- if (LLClipboard::getInstance()->isOnClipboard(current_id))
+ if (LLClipboard::instance().isOnClipboard(current_id))
{
return false;
}