[Bug 72606] [EasyHack] Consistently call Unicode Win32 functions, and define UNICODE globally

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Oct 28 08:03:06 PDT 2015


https://bugs.documentfoundation.org/show_bug.cgi?id=72606

--- Comment #4 from Michael Stahl <mstahl at redhat.com> ---
maybe it would be better to move directly to removing the #ifdef UNICODE
everywhere, e.g. look at this nonsense all over
setup_native/source/win32/customactions/shellextensions/

#ifdef UNICODE
#define _UNICODE
#define _tstring    wstring
#else
#define _tstring    string
#endif

that requires other headers to be included in a particular order, etc.

just call *W functions and use std::wstring.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20151028/d382c4e6/attachment.html>


More information about the LibreOffice mailing list