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


On Mon, Feb 21, 2011 at 12:10 AM, Joseph Powers <jpowers27@cox.net> wrote:

Here's a quick update on the project:

1. The only items left are:

binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeConnections,
DdeConnection* )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeTransactions,
DdeTransaction* )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeFormats, long )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( StringList, String * )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeServices, DdeService* )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeTopics, DdeTopic* )
binfilter/inc/bf_svtools/svdde.hxx:DECLARE_LIST( DdeItems, DdeItem* )

idl/inc/lex.hxx:DECLARE_LIST( SvTokenList, SvToken * )
idl/inc/object.hxx:DECLARE_LIST( SvSlotElementList, SvSlotElement* )
idl/inc/types.hxx:DECLARE_LIST(SvMetaTypeList,SvMetaType *)

svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeConnections, DdeConnection* )
svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeServices, DdeService* )
svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeTopics, DdeTopic* )
svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeItems, DdeItem* )
svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeTransactions, DdeTransaction* )
svl/inc/svl/svdde.hxx:DECLARE_LIST( DdeFormats, long )
svl/inc/svl/svdde.hxx:DECLARE_LIST( StringList, String * )
svl/source/svdde/ddeimp.hxx:DECLARE_LIST( ConvList, Conversation* );

tools/inc/tools/list.hxx:// - DECLARE_LIST -
tools/inc/tools/list.hxx:#define DECLARE_LIST( ClassName, Type )
                      \
tools/inc/tools/ref.hxx:DECLARE_LIST(CN##List,EN)\

2. We also have a few locations where the "List" class is used directly
with out the DECLARE_LIST() macro.

My work order is:

1. Reduce the number of #include "tools/list.hxx" down to a minimum (it
should only be used in areas that use the List class).
2. Convert the binfilter & svl items above to a ::std::vector<> or similar
template. These files are only used on MS-Windows which I don't build on, so
I'm going to just create the patches and then send them to Fridrich who
volunteered to make sure the build ok.
3. Fix the tools/inc/tools/ref.hxx usage of DECLARE_LIST. The issue here is
that it's a macro that's used in several locations.

Rafael is working on the following areas:

1. Convert the idl items above.
2. Start converting the code that uses the List class.

Joe P.

PS: Rafeal, I pushed your patch to convert the std::vector to
boost::ptr_vector in writer.  Sorry I don't know how to preserve your
submitter information (my git foo is bad). I had one section that did not
apply cleanly so I had to patch that section manually. Can you double check
my work and make sure it's what you wanted? I did a "make check" and also
tested the menu item directly and it seems to work.
authorJoseph Powers <jpowers27@cox.net>2011-02-21 04:13:57 (GMT)committerJoseph
Powers <jpowers27@cox.net>2011-02-21 04:13:57 (GMT)commit
5d8a59f64d9d3931e2c9c1ba98f57cd10e0b01c1<http://cgit.freedesktop.org/libreoffice/writer/commit/?id=5d8a59f64d9d3931e2c9c1ba98f57cd10e0b01c1>
 
(patch<http://cgit.freedesktop.org/libreoffice/writer/patch/?id=5d8a59f64d9d3931e2c9c1ba98f57cd10e0b01c1>
)


Yes sorry for that, thanks!!! looks perfect

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.