summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-03-01 17:14:35 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-03-01 18:58:43 +0100
commitff8b9c4e590ff6189b5d7446814a398ab513bd0c (patch)
tree6eaacf1ee8578687304dec0267f65b90b12f8eec /shell
parent115b78837e9a4206603fc5dbc7da68f65ba08a4b (diff)
unnecessary wstring -> char* -> wstring conversion
Change-Id: I21e6036a5156ed62f2c7bff6439c64d0178c96e4
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/shlxthandler/propsheets/propsheets.cxx2
1 files changed, 1 insertions, 1 deletions
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)
{