diff options
author | richard <none@none> | 2009-12-17 09:57:43 -0800 |
---|---|---|
committer | richard <none@none> | 2009-12-17 09:57:43 -0800 |
commit | cf63ce4dc1176d9df4fe852821e4a6d32332f7c6 (patch) | |
tree | 8e77e822118f4979759caab99df48975f79994c7 /indra/llrender | |
parent | f452c01915be011814d92dcc1a398f450b6ce9c2 (diff) | |
parent | 4dd37a10633c95a9806b608b4db4d0a2d3141a21 (diff) |
merge
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llfontgl.cpp | 23 | ||||
-rw-r--r-- | indra/llrender/llfontgl.h | 1 |
2 files changed, 0 insertions, 24 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(); diff --git a/indra/llrender/llfontgl.h b/indra/llrender/llfontgl.h index ea8eee7690..bb7d8524e7 100644 --- a/indra/llrender/llfontgl.h +++ b/indra/llrender/llfontgl.h @@ -144,7 +144,6 @@ public: // Takes a string with potentially several flags, i.e. "NORMAL|BOLD|ITALIC" static U8 getStyleFromString(const std::string &style); - static std::string getStringFromStyle(U8 style); static std::string nameFromFont(const LLFontGL* fontp); static std::string sizeFromFont(const LLFontGL* fontp); |