http://wiki.services.openoffice.org/wiki/Writer/Code_Conventions#Vetoed_Conventionssays that C++ RTTI is preferred over <tools/rtti.hxx>. In my opinion, the best would be not using casts at all (using e.g. virtual functions instead).
Uray M. János 2012/8/7 Caolán McNamara <caol...@redhat.com> > On Tue, 2012-08-07 at 16:00 +0300, Tor Lillqvist wrote: > > Thanks, puxhed. > > Btw, isn't there some issue that dynamic_cast/typeinfo stuff is quite > slow under msvc or some such ?, i.e. no biggy for the "occasional" cast, > but a potential problem for say, mass converting the ISA uses in the sw > layout code. > > C. > >
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice