summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-10-27 15:00:36 -0700
committerJames Cook <james@lindenlab.com>2009-10-27 15:00:36 -0700
commit34398aac4b269a8c5d531fd45e48ece366f58b07 (patch)
treefa6381caf03d4d2d5e0b36fc4a2c5b21378cbcea /indra/llui
parentb93c4d6bd69b7ddb7348cd54b2f88c4150f9e852 (diff)
Use consistent LLPointer<LLUIImage> return values for buttons. Reviewed with Richard.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llbutton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llbutton.h b/indra/llui/llbutton.h
index 7fc4997133..5e2aea2b74 100644
--- a/indra/llui/llbutton.h
+++ b/indra/llui/llbutton.h
@@ -241,8 +241,8 @@ public:
void setForcePressedState(BOOL b) { mForcePressedState = b; }
protected:
- const LLPointer<LLUIImage>& getImageUnselected() const { return mImageUnselected; }
- const LLPointer<LLUIImage>& getImageSelected() const { return mImageSelected; }
+ LLPointer<LLUIImage> getImageUnselected() const { return mImageUnselected; }
+ LLPointer<LLUIImage> getImageSelected() const { return mImageSelected; }
LLFrameTimer mMouseDownTimer;