diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-10 09:29:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-11 08:19:00 +0200 |
commit | 27463197176fd7f68cbdeed790621dad6b4c63d3 (patch) | |
tree | c9fe64f7b6d5e30e05f4ff18b5fdf71a05a4ab0a /unotools | |
parent | b40e57f403b3d4ccb90f3b76caf8d537b61826dc (diff) |
clang-tidy bugprone-copy-constructor-init
Change-Id: Idd435b3a4d081f6d3af26ff8add69ad4af50db57
warning: calling a base constructor other than the copy constructor
Reviewed-on: https://gerrit.libreoffice.org/60239
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/accessibility/accessiblerelationsethelper.cxx | 2 | ||||
-rw-r--r-- | unotools/source/accessibility/accessiblestatesethelper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/accessibility/accessiblerelationsethelper.cxx b/unotools/source/accessibility/accessiblerelationsethelper.cxx index 697cbd8b2608..f50d641e87ea 100644 --- a/unotools/source/accessibility/accessiblerelationsethelper.cxx +++ b/unotools/source/accessibility/accessiblerelationsethelper.cxx @@ -117,7 +117,7 @@ AccessibleRelationSetHelper::AccessibleRelationSetHelper () } AccessibleRelationSetHelper::AccessibleRelationSetHelper (const AccessibleRelationSetHelper& rHelper) - : cppu::WeakImplHelper<XAccessibleRelationSet>() + : cppu::WeakImplHelper<XAccessibleRelationSet>(rHelper) { if (rHelper.mpHelperImpl) mpHelperImpl.reset(new AccessibleRelationSetHelperImpl(*rHelper.mpHelperImpl)); diff --git a/unotools/source/accessibility/accessiblestatesethelper.cxx b/unotools/source/accessibility/accessiblestatesethelper.cxx index 480ae0ab274b..fc867063c82d 100644 --- a/unotools/source/accessibility/accessiblestatesethelper.cxx +++ b/unotools/source/accessibility/accessiblestatesethelper.cxx @@ -126,7 +126,7 @@ AccessibleStateSetHelper::AccessibleStateSetHelper ( const sal_Int64 _nInitialSt } AccessibleStateSetHelper::AccessibleStateSetHelper (const AccessibleStateSetHelper& rHelper) - : cppu::WeakImplHelper<XAccessibleStateSet>() + : cppu::WeakImplHelper<XAccessibleStateSet>(rHelper) { if (rHelper.mpHelperImpl) mpHelperImpl.reset(new AccessibleStateSetHelperImpl(*rHelper.mpHelperImpl)); |