Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


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

          Priority: medium
            Bug ID: 72606
                CC: jesus@softcatala.org,
                    libreoffice@lists.freedesktop.org,
                    thomas-libo@arnhold.org, tml@iki.fi
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: [EasyHack] Consistently call Unicode Win32 functions,
                    and define UNICODE globally
          Severity: normal
    Classification: Unclassified
                OS: Windows (All)
          Reporter: mstahl@redhat.com
          Hardware: Other
            Status: NEW
           Version: 4.3.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

currently there are lots of places where manually macros
UNICODE and _UNICODE are defined:

http://blogs.msdn.com/b/oldnewthing/archive/2004/02/12/71851.aspx

git grep DUNICODE
git grep D_UNICODE

we should rather define that globally in solenv/gbuild/com_MSC_defs.mk.

also there is no point to ever calling the archaic so-called "ANSI"
Win32 functions (end in *A); probably it's best to call the
UCS-2 Unicode ones directly (end in *W).

corresponding string literals can be written as L"foo"

maybe once every function call is directly to a *W function
the UNICODE _UNICODE can be removed altogether, but as a first
step it's probably best to define that globally.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.