diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llui/llviewborder.cpp | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2 meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz |
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llui/llviewborder.cpp')
-rw-r--r-- | linden/indra/llui/llviewborder.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llui/llviewborder.cpp b/linden/indra/llui/llviewborder.cpp index c354ac5..8a5beea 100644 --- a/linden/indra/llui/llviewborder.cpp +++ b/linden/indra/llui/llviewborder.cpp | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | static LLRegisterWidget<LLViewBorder> r("view_border"); | 36 | static LLRegisterWidget<LLViewBorder> r("view_border"); |
37 | 37 | ||
38 | LLViewBorder::LLViewBorder( const LLString& name, const LLRect& rect, EBevel bevel, EStyle style, S32 width ) | 38 | LLViewBorder::LLViewBorder( const std::string& name, const LLRect& rect, EBevel bevel, EStyle style, S32 width ) |
39 | : | 39 | : |
40 | LLView( name, rect, FALSE ), | 40 | LLView( name, rect, FALSE ), |
41 | mBevel( bevel ), | 41 | mBevel( bevel ), |
@@ -277,9 +277,9 @@ BOOL LLViewBorder::getBevelFromAttribute(LLXMLNodePtr node, LLViewBorder::EBevel | |||
277 | { | 277 | { |
278 | if (node->hasAttribute("bevel_style")) | 278 | if (node->hasAttribute("bevel_style")) |
279 | { | 279 | { |
280 | LLString bevel_string; | 280 | std::string bevel_string; |
281 | node->getAttributeString("bevel_style", bevel_string); | 281 | node->getAttributeString("bevel_style", bevel_string); |
282 | LLString::toLower(bevel_string); | 282 | LLStringUtil::toLower(bevel_string); |
283 | 283 | ||
284 | if (bevel_string == "none") | 284 | if (bevel_string == "none") |
285 | { | 285 | { |
@@ -306,7 +306,7 @@ BOOL LLViewBorder::getBevelFromAttribute(LLXMLNodePtr node, LLViewBorder::EBevel | |||
306 | // static | 306 | // static |
307 | LLView* LLViewBorder::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) | 307 | LLView* LLViewBorder::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
308 | { | 308 | { |
309 | LLString name("view_border"); | 309 | std::string name("view_border"); |
310 | node->getAttributeString("name", name); | 310 | node->getAttributeString("name", name); |
311 | 311 | ||
312 | LLViewBorder::EBevel bevel_style = LLViewBorder::BEVEL_IN; | 312 | LLViewBorder::EBevel bevel_style = LLViewBorder::BEVEL_IN; |