diff options
| author | Tess Chu <tess@lindenlab.com> | 2007-10-02 22:38:38 +0000 |
|---|---|---|
| committer | Tess Chu <tess@lindenlab.com> | 2007-10-02 22:38:38 +0000 |
| commit | cfd17f3322ec9c8efb120faa23adb83846272193 (patch) | |
| tree | eefbf2fefcac737d4050fba10e072fe951cd4381 /indra/newview/llfloatermap.cpp | |
| parent | 97631054272eeb83155f70fec6a869efc39079e5 (diff) | |
svn merge -r 70819:70853 svn+ssh://svn/svn/linden/branches/urldispatcher-for-merge
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
| -rw-r--r-- | indra/newview/llfloatermap.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp index 242f5b7991..d53929272c 100644 --- a/indra/newview/llfloatermap.cpp +++ b/indra/newview/llfloatermap.cpp @@ -197,47 +197,3 @@ void LLFloaterMap::toggle(void*) } } } - - -BOOL process_secondlife_url(LLString url) -{ - S32 strpos, strpos2; - - LLString slurlID = "slurl.com/secondlife/"; - strpos = url.find(slurlID); - - if (strpos < 0) - { - slurlID="secondlife://"; - strpos = url.find(slurlID); - } - - if (strpos >= 0) - { - LLString simname; - - strpos+=slurlID.length(); - strpos2=url.find("/",strpos); - if (strpos2 < strpos) strpos2=url.length(); - simname="secondlife://" + url.substr(strpos,url.length() - strpos); - - LLURLSimString::setString( simname ); - LLURLSimString::parse(); - - // if there is a world map - if ( gFloaterWorldMap ) - { - // mark where the destination is - gFloaterWorldMap->trackURL( LLURLSimString::sInstance.mSimName.c_str(), - LLURLSimString::sInstance.mX, - LLURLSimString::sInstance.mY, - LLURLSimString::sInstance.mZ ); - - // display map - LLFloaterWorldMap::show( NULL, TRUE ); - }; - - return TRUE; - } - return FALSE; -} |
