[Bug 88206] New: Change uses of cppu::WeakImplHelper* and cppu::ImplInheritanceHelper* to use variadic variants instead

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jan 8 09:01:32 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88206

            Bug ID: 88206
           Summary: Change uses of cppu::WeakImplHelper* and
                    cppu::ImplInheritanceHelper* to use variadic variants
                    instead
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Libreoffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sbergman at redhat.com
                CC: libreoffice at lists.freedesktop.org

Since
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=0d44e98d6aa2c390fd9bcdd97290f463b136ddb6>
"Variadic cppu::WeakImplHelper" and
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=8ad48d881b5d36af4d2e744cf8031b5f4b2f43e1>
"Variadic cppu::ImplInheritanceHelper" uses of cppu::WeakImplHelper1,
cppu::WeakImplHelper2, etc. can drop the trailing "1," "2," etc. (and likewise
for cppu::ImplInheritanceHelper), and instead of the various
cppuhelper/implbase1.hxx, cppuhelper/implbase2.hxx, include just
cppuhelper/implbase.hxx.

Find (lots of) places in the code that can be cleaned up (see the two commits
for examples).

(Note that this is a LIBO_INTERNAL_ONLY feature that cannot be used in external
code though; in general, just keep away from files in include/cppu,
include/cppuhelper, include/sal, include/salhelper, include/uno, and
odk/examples.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150108/fd5d0eb9/attachment.html>


More information about the LibreOffice mailing list