The tools/ code contains a lot of obsolete and/or duplicated code one example is: tools/source/stream/stream.cxx which uses this SWAPSHORT / SWAPLONG macro pair around the place. It'd be great to kill all uses of these macros across the codebase to use the preferred 'sal' abstraction: # define OSL_SWAPWORD(w) OSL_MAKEWORD(OSL_HIBYTE(w),OSL_LOBYTE(w)) # define OSL_SWAPDWORD(d) OSL_MAKEDWORD(OSL_SWAPWORD(OSL_HIWORD(d)),OSL_SWAPWORD(OSL_LOWORD(d))) from osl/endian.h.
http://cgit.freedesktop.org/libreoffice/core/commit/?id=61451fec9b4ece2d2ef9d1d337dfc9e78c422d93
Migrating Whiteboard tags to Keywords: (EasyHack,DifficultyBeginner,SkillCpp,TopicCleanup) [NinjaEdit]