From ff8b9c4e590ff6189b5d7446814a398ab513bd0c Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sun, 1 Mar 2015 17:14:35 +0100 Subject: unnecessary wstring -> char* -> wstring conversion Change-Id: I21e6036a5156ed62f2c7bff6439c64d0178c96e4 --- shell/source/win32/shlxthandler/propsheets/propsheets.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/win32/shlxthandler/propsheets/propsheets.cxx b/shell/source/win32/shlxthandler/propsheets/propsheets.cxx index bd136d18031c..0cfa944f4c64 100644 --- a/shell/source/win32/shlxthandler/propsheets/propsheets.cxx +++ b/shell/source/win32/shlxthandler/propsheets/propsheets.cxx @@ -323,7 +323,7 @@ void CPropertySheet::InitPropPageSummary(HWND hwnd, LPPROPSHEETPAGE /*lppsp*/) // comments read from meta.xml use "\n" for return, but this will not displayable in Edit control, add // "\r" before "\n" to form "\r\n" in order to display return in Edit control. - std::wstring tempStr = metaInfo.getTagData( META_INFO_DESCRIPTION ).c_str(); + std::wstring tempStr = metaInfo.getTagData( META_INFO_DESCRIPTION ); std::wstring::size_type itor = tempStr.find ( L"\n" , 0 ); while (itor != std::wstring::npos) { -- cgit