From d590454062cfef1b6ede8b75311610874f63e5fa Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sun, 23 Apr 2023 20:14:16 +0300 Subject: Use getXWeak in oox Change-Id: I8211a1fe19bbd900f866c46d5b7ec68a37bc38cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150859 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- oox/source/export/ColorPropertySet.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox/source') diff --git a/oox/source/export/ColorPropertySet.cxx b/oox/source/export/ColorPropertySet.cxx index a0998f195fe4..714870d93e36 100644 --- a/oox/source/export/ColorPropertySet.cxx +++ b/oox/source/export/ColorPropertySet.cxx @@ -67,7 +67,7 @@ Property SAL_CALL lcl_ColorPropertySetInfo::getPropertyByName( const OUString& a { if( aName == m_aColorPropName ) return m_aColorProp; - throw UnknownPropertyException( m_aColorPropName, static_cast< uno::XWeak * >( this )); + throw UnknownPropertyException( m_aColorPropName, getXWeak()); } sal_Bool SAL_CALL lcl_ColorPropertySetInfo::hasPropertyByName( const OUString& Name ) -- cgit