diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-23 20:14:45 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-30 17:05:28 +0200 |
commit | f220acf3aad954e20f3b15b30910432fac97ed15 (patch) | |
tree | 5c2f604499bcd812c9c5ed3b5bc572e837d509fa /shell/source/backends/macbe/macbackend.mm | |
parent | 723a0a067daaefb8b082fc849713ee6502ec9231 (diff) |
Use getXWeak in shell
Change-Id: Ied9a244a0fdd5973f2c9cb3bdd46500f6be2e0cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150868
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'shell/source/backends/macbe/macbackend.mm')
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm index cb35a4b9d066..e84ecd4b8013 100644 --- a/shell/source/backends/macbe/macbackend.mm +++ b/shell/source/backends/macbe/macbackend.mm @@ -186,7 +186,7 @@ void MacOSXBackend::setPropertyValue( { throw css::lang::IllegalArgumentException( "setPropertyValue not supported", - static_cast< cppu::OWeakObject * >(this), -1); + getXWeak(), -1); } css::uno::Any MacOSXBackend::getPropertyValue( @@ -365,7 +365,7 @@ css::uno::Any MacOSXBackend::getPropertyValue( return css::uno::Any(css::beans::Optional< css::uno::Any >()); } else { throw css::beans::UnknownPropertyException( - PropertyName, static_cast< cppu::OWeakObject * >(this)); + PropertyName, getXWeak()); } } |