diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 12:58:40 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 14:03:36 +0200 |
commit | a2a342495361726c7d085910a5ac127d8cf522c9 (patch) | |
tree | 4e557a56e1c9965369955eacdcb6ca880b0c8ba3 /pyuno | |
parent | 956c775c54fd60647fbd936402269db3fea88059 (diff) |
Deprecated conversion from const wchar_t* to wchar_t*
Change-Id: I8c0a97372f0855543d6207adb0abaa4cc820aabd
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/zipcore/python.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/zipcore/python.cxx b/pyuno/zipcore/python.cxx index 34ff2e2da7e3..9ef71839a1e2 100644 --- a/pyuno/zipcore/python.cxx +++ b/pyuno/zipcore/python.cxx @@ -183,7 +183,7 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) { if (GetLastError() != ERROR_ENVVAR_NOT_FOUND) { exit(EXIT_FAILURE); } - orig = L""; + orig = (wchar_t *)L""; } else { orig = new wchar_t[n]; if (orig == NULL || @@ -208,7 +208,7 @@ int wmain(int argc, wchar_t ** argv, wchar_t **) { if (GetLastError() != ERROR_ENVVAR_NOT_FOUND) { exit(EXIT_FAILURE); } - orig = L""; + orig = (wchar_t *)L""; } else { orig = new wchar_t[n]; if (orig == NULL || |