From 19c18c94085f7a70e536a914ed978fc54b5625b9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 31 Mar 2023 14:32:23 +0200 Subject: remove unnecessary UnoControlModel::setPropertyValues which does exactly the same thing as the method it overrides Change-Id: Ib227011795f0cf6336fb1e01c14636a9996bb164 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149835 Tested-by: Jenkins Reviewed-by: Noel Grandin --- toolkit/source/controls/unocontrolmodel.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index a881d2781b1e..bfadc7f6bb8a 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1259,12 +1259,6 @@ css::uno::Reference< css::beans::XPropertySetInfo > UnoControlModel::getProperty return css::uno::Reference< css::beans::XPropertySetInfo >(); } -void UnoControlModel::setPropertyValues( const css::uno::Sequence< OUString >& rPropertyNames, const css::uno::Sequence< css::uno::Any >& Values ) -{ - std::unique_lock aGuard( m_aMutex ); - setPropertyValuesImpl(aGuard, rPropertyNames, Values); -} - void UnoControlModel::setPropertyValuesImpl( std::unique_lock& rGuard, const css::uno::Sequence< OUString >& rPropertyNames, const css::uno::Sequence< css::uno::Any >& Values ) { sal_Int32 nProps = rPropertyNames.getLength(); -- cgit