From 27463197176fd7f68cbdeed790621dad6b4c63d3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 10 Sep 2018 09:29:12 +0200 Subject: 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 --- unotools/source/accessibility/accessiblerelationsethelper.cxx | 2 +- unotools/source/accessibility/accessiblestatesethelper.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'unotools') 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() + : cppu::WeakImplHelper(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() + : cppu::WeakImplHelper(rHelper) { if (rHelper.mpHelperImpl) mpHelperImpl.reset(new AccessibleStateSetHelperImpl(*rHelper.mpHelperImpl)); -- cgit