From 79358ac0be738daa0f3b71dcc3caff8ea418118c Mon Sep 17 00:00:00 2001 From: rachytski Date: Fri, 27 May 2011 20:31:12 +0300 Subject: [PATCH] FromUtf8 compilation fixes. --- yg/text_layout_element.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/yg/text_layout_element.cpp b/yg/text_layout_element.cpp index 7fa355c12f..180339c38f 100644 --- a/yg/text_layout_element.cpp +++ b/yg/text_layout_element.cpp @@ -1,10 +1,11 @@ #include "../base/SRC_FIRST.hpp" -#include "../coding/strutil.hpp" +#include "../base/string_utils.hpp" #include "text_layout_element.hpp" #include "glyph_cache.hpp" #include "screen.hpp" #include "resource_manager.hpp" +#include "resource_style.hpp" #include "skin.hpp" namespace yg @@ -18,7 +19,7 @@ namespace yg shared_ptr const & rm, m2::PointD const & pivot, yg::EPosition pos) - : m_text(FromUtf8(text)), + : m_text(strings::FromUtf8(text)), m_depth(depth), m_fontDesc(fontDesc), m_skin(skin),