On Wed, 2012-05-02 at 04:08 -0700, julien2412 wrote:
Hello,
Searching for "DECLARE_LIST" in Opengrok in core part gives, except the
declaration in list.hxx, this :
in svl/inc/svl/svdde.hxx
57 #ifndef _SVDDE_NOLISTS
58 DECLARE_LIST( DdeServices, DdeService* )
59 #else
60 typedef List DdeServices;
61 #endif
I searched about _SVDDE_NOLISTS and it seems nowhere to be seen.
Seeing as nothing is defining _SVDDE_NOLISTS then currently the
DECLARE_LIST branch is unconditionally taken, right ?, not the typedef
branch. So its the typedef branch that's dead.
Could we just have "typedef List DdeServices;", move DECLARE_LIST
declaration in binfilter part (since there are still some places to be
converted) and remove completely DECLARE_LIST for core ?
Seeing as its the last DECLARE_LIST left in core it looks like a great
candidate to convert it to vector/list and allow removal of DECLARE_LIST
into binfilter. Watch out though, there's some windows only code in
ddesvr using the DdeServices thing.
C.
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.