diff options
| author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-23 20:14:29 +0300 |
|---|---|---|
| committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-06-18 10:13:51 +0200 |
| commit | f983e193523f9c7ac605627bbf3f3ad576ee7f03 (patch) | |
| tree | 2bbf8df56795bff4f186eedae192b21784790de3 /sc/source/ui/unoobj/styleuno.cxx | |
| parent | 8da305acc9bc1fa0a31cd61d5da632e6bb4ae48c (diff) | |
Use getXWeak in sc
Change-Id: I6a120265be4e4f2ec859a17459d9d92ea23f00d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150863
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/ui/unoobj/styleuno.cxx')
| -rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index a97c12e3dec5..681a97f09e3c 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -926,7 +926,7 @@ uno::Any SAL_CALL ScStyleFamilyObj::getPropertyValue( const OUString& sPropertyN if ( sPropertyName != "DisplayName" ) { - throw beans::UnknownPropertyException( "unknown property: " + sPropertyName, static_cast<OWeakObject *>(this) ); + throw beans::UnknownPropertyException( "unknown property: " + sPropertyName, getXWeak() ); } SolarMutexGuard aGuard; |
