On Sun, Nov 21, 2010 at 12:21:08AM +1100, Mattias Johnsson <m.t.johnsson@gmail.com> wrote:
int SfxPoolItem::operator==( const SfxPoolItem& rCmp ) const
{
DBG_CHKTHIS(SfxPoolItem, 0);
return rCmp.Type() == Type();
}
but for the life of me I can't find out where the Type() method is defined.
Does anyone have any pointers?
The SfxPoolItem itself is declared in svl/inc/svl/poolitem.hxx. You can
see a TYPEINFO(); macro there, which is defined in
tools/inc/tools/rtti.hxx.
Now if you want the definition of that method, the implementation is in
source/items/poolitem.cxx, where there is a TYPEINIT0() macro, defined
in tools/inc/tools/rtti.hxx again.
TYPEINIT0() calls TYPEINIT0_FACTORY(), that calls TYPEINIT_FACTORY(),
where the real method is defined.
Hope this helps. :)
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.