summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-23 20:14:16 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-06 07:25:24 +0200
commitd590454062cfef1b6ede8b75311610874f63e5fa (patch)
treecfab8e93a7129e50c8b88f0206587925a85f4821 /oox/source
parentee3b2907eae61fb46fb6fe1511fafaa2a2b60bd3 (diff)
Use getXWeak in oox
Change-Id: I8211a1fe19bbd900f866c46d5b7ec68a37bc38cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150859 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/export/ColorPropertySet.cxx2
1 files changed, 1 insertions, 1 deletions
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 )