summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui/de/floater_script_search.xml
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-04-25 15:40:44 -0400
committerNat Goodspeed <nat@lindenlab.com>2019-04-25 15:40:44 -0400
commita2d4122de41ff161b7397ca663a41595cb9dbf2a (patch)
tree3464c49f2659fc4e9e101ef11f271e942f113bd3 /indra/newview/skins/default/xui/de/floater_script_search.xml
parent468fbd6b515cf321834e0056adde9b29e07ccffc (diff)
Reorder logic in LLAppViewer::initConfiguration(); remove dup code.
There were two nearly-identical copies of a stanza that calls sendURLToOtherInstance(). Remove one. It's possible that the reason no one noticed the duplication was because the two copies were 70 lines apart. Move setSkinFolder(), setUseSpellCheck() and setSecondaryDictionaries() stanzas to consolidate SLURL-handling code more closely. Also move logic for NextLoginLocation and CmdLineLoginLocation. Remove a couple unnecessary std::ostringstream instances. Streaming a single string literal to std::ostringstream and retrieving its str() is the same as simply converting the literal to std::string, only slower. OSMessageBox() accepts const std::string&. Given that you have a std::string in hand, passing its c_str() to OSMessageBox() is not only unnecessary but wasteful: it requires silently converting the const char* back to a different std::string instance. Calling a class method from another method of the same class does not require ClassName:: qualification. Calling a singleton subclass method from another non-static method of the same subclass does not require going through ClassName::instance() or sInstance or whatever.
Diffstat (limited to 'indra/newview/skins/default/xui/de/floater_script_search.xml')
0 files changed, 0 insertions, 0 deletions