From a06b83ff927d8973c8b4a2de9a0c7ce5cd4b1f96 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 3 Sep 2019 10:47:07 +0300 Subject: Parent reference should be const in VCL builder entry points Change-Id: I2331e19f5e23e0dde8edd22befc7287515adf37e Reviewed-on: https://gerrit.libreoffice.org/78536 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/methodcycles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/methodcycles.py b/compilerplugins/clang/methodcycles.py index 9093cebc420c..18b63c71f777 100755 --- a/compilerplugins/clang/methodcycles.py +++ b/compilerplugins/clang/methodcycles.py @@ -119,9 +119,9 @@ for caller in definitionSet: if "::~" in caller: to_be_removed.add(caller) # dyload entry points for VCL builder - if "(VclPtr & rRet, VclPtr & pParent, VclBuilder::stringmap & rMap)" in caller: + if "(VclPtr & rRet, const VclPtr & pParent, VclBuilder::stringmap & rMap)" in caller: to_be_removed.add(caller) - if "(VclPtr &,VclPtr &,std::::map, std::allocator > > &)" in caller: + if "(VclPtr &,const VclPtr &,std::::map, std::allocator > > &)" in caller: to_be_removed.add(caller) # find all the UNO load-by-symbol-name entrypoints uno_constructor_entrypoints = set() -- cgit