aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/llui/llctrlselectioninterface.cpp4
-rw-r--r--linden/indra/llui/llctrlselectioninterface.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llui/llctrlselectioninterface.cpp b/linden/indra/llui/llctrlselectioninterface.cpp
index dac0939..1111b9d 100644
--- a/linden/indra/llui/llctrlselectioninterface.cpp
+++ b/linden/indra/llui/llctrlselectioninterface.cpp
@@ -39,12 +39,12 @@
39LLCtrlSelectionInterface::~LLCtrlSelectionInterface() 39LLCtrlSelectionInterface::~LLCtrlSelectionInterface()
40{ } 40{ }
41 41
42BOOL LLCtrlSelectionInterface::selectByValue(LLSD value) 42BOOL LLCtrlSelectionInterface::selectByValue(const LLSD& value)
43{ 43{
44 return setSelectedByValue(value, TRUE); 44 return setSelectedByValue(value, TRUE);
45} 45}
46 46
47BOOL LLCtrlSelectionInterface::deselectByValue(LLSD value) 47BOOL LLCtrlSelectionInterface::deselectByValue(const LLSD& value)
48{ 48{
49 return setSelectedByValue(value, FALSE); 49 return setSelectedByValue(value, FALSE);
50} 50}
diff --git a/linden/indra/llui/llctrlselectioninterface.h b/linden/indra/llui/llctrlselectioninterface.h
index 45727d6..7b5cd66 100644
--- a/linden/indra/llui/llctrlselectioninterface.h
+++ b/linden/indra/llui/llctrlselectioninterface.h
@@ -67,8 +67,8 @@ public:
67 virtual BOOL setCurrentByID( const LLUUID& id ) = 0; 67 virtual BOOL setCurrentByID( const LLUUID& id ) = 0;
68 virtual LLUUID getCurrentID() const = 0; 68 virtual LLUUID getCurrentID() const = 0;
69 69
70 BOOL selectByValue(const LLSD value); 70 BOOL selectByValue(const LLSD& value);
71 BOOL deselectByValue(const LLSD value); 71 BOOL deselectByValue(const LLSD& value);
72 virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected) = 0; 72 virtual BOOL setSelectedByValue(const LLSD& value, BOOL selected) = 0;
73 virtual LLSD getSelectedValue() = 0; 73 virtual LLSD getSelectedValue() = 0;
74 74