diff options
| author | James Cook <james@lindenlab.com> | 2009-12-16 16:04:26 -0800 |
|---|---|---|
| committer | James Cook <james@lindenlab.com> | 2009-12-16 16:04:26 -0800 |
| commit | 4c0d5200bc7a53537f9ee7028e74c1feb4abc52e (patch) | |
| tree | 85a48a0e970c5376ab216d86b068db303ead30af /indra/llrender/llfontgl.cpp | |
| parent | 699d038af4edf9e854525ea380905737b645ebfc (diff) | |
| parent | e8fe81c4fcbec173606b5ad635e0b774e4d8b24b (diff) | |
Merge
Diffstat (limited to 'indra/llrender/llfontgl.cpp')
| -rw-r--r-- | indra/llrender/llfontgl.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/indra/llrender/llfontgl.cpp b/indra/llrender/llfontgl.cpp index 7ad5f9608f..db1f019a81 100644 --- a/indra/llrender/llfontgl.cpp +++ b/indra/llrender/llfontgl.cpp @@ -761,29 +761,6 @@ U8 LLFontGL::getStyleFromString(const std::string &style) } // static -std::string LLFontGL::getStringFromStyle(U8 style) -{ - std::string style_string; - if (style & NORMAL) - { - style_string += "|NORMAL"; - } - if (style & BOLD) - { - style_string += "|BOLD"; - } - if (style & ITALIC) - { - style_string += "|ITALIC"; - } - if (style & UNDERLINE) - { - style_string += "|UNDERLINE"; - } - return style_string; -} - -// static std::string LLFontGL::nameFromFont(const LLFontGL* fontp) { return fontp->mFontDescriptor.getName(); |
