diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-27 09:22:13 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-28 09:31:16 +0000 |
commit | 43b4903db3e925c652e25c34362490f8adc9c5ec (patch) | |
tree | af12777b72d42280467e8cc19b914b2c7f4f3816 /toolkit | |
parent | 7d6308dad9f4a079d57719a6e3a9c4cebb47d051 (diff) |
teach stylepolice plugin about ref-counted-pointer naming
Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752
Reviewed-on: https://gerrit.libreoffice.org/24459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index c9c1abd30fab..540d63677b7c 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1726,7 +1726,8 @@ static void lcl_ApplyResolverToNestedContainees( const Reference< resource::XSt { OUString aPropName( PROPERTY_RESOURCERESOLVER ); - Any xNewStringResourceResolver; xNewStringResourceResolver <<= xStringResourceResolver; + Any aNewStringResourceResolver; + aNewStringResourceResolver <<= xStringResourceResolver; Sequence< OUString > aPropNames { aPropName }; @@ -1755,7 +1756,7 @@ static void lcl_ApplyResolverToNestedContainees( const Reference< resource::XSt xMultiPropSet->firePropertiesChangeEvent( aPropNames, xListener ); } else - xPropertySet->setPropertyValue( aPropName, xNewStringResourceResolver ); + xPropertySet->setPropertyValue( aPropName, aNewStringResourceResolver ); } catch (const Exception&) { |