Removed some useless static_cast.

This commit is contained in:
dankan1890
2016-08-15 00:07:55 +02:00
parent cdba162897
commit 236ba4356e
5 changed files with 6 additions and 6 deletions

View File

@@ -413,7 +413,7 @@ namespace paint
nana::size graphics::text_extent_size(const std::wstring& text) const
{
return text_extent_size(text.c_str(), static_cast<unsigned>(text.length()));
return text_extent_size(text.c_str(), text.length());
}
nana::size graphics::text_extent_size(const wchar_t* str, std::size_t len) const