summaryrefslogtreecommitdiff
path: root/indra/newview/llfavoritesbar.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2012-02-06 15:43:53 -0800
committerMerov Linden <merov@lindenlab.com>2012-02-06 15:43:53 -0800
commit9761375ac244af36635899c73e99efc46b68b589 (patch)
treefa48adfda40be0cced2c0425a09ddde99a1faf23 /indra/newview/llfavoritesbar.cpp
parentdb824cff75696c42fff80ba29dbb60f12d10a1da (diff)
EXP-1841 : Refactoring of LLClipboard, simplify the API and make it behave like a normal clipboard.
Diffstat (limited to 'indra/newview/llfavoritesbar.cpp')
-rw-r--r--indra/newview/llfavoritesbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp
index c81bff4b5d..4308bf2d3c 100644
--- a/indra/newview/llfavoritesbar.cpp
+++ b/indra/newview/llfavoritesbar.cpp
@@ -1118,7 +1118,7 @@ BOOL LLFavoritesBarCtrl::handleRightMouseDown(S32 x, S32 y, MASK mask)
}
void copy_slurl_to_clipboard_cb(std::string& slurl)
{
- LLClipboard::getInstance()->copyFromString(utf8str_to_wstring(slurl));
+ LLClipboard::getInstance()->copyToClipboard(utf8str_to_wstring(slurl),0,slurl.size());
LLSD args;
args["SLURL"] = slurl;