diff options
Diffstat (limited to 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index 9f1d22fef93e..d34c3441e6bc 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -286,7 +286,7 @@ void LocaleBackend::setPropertyValue( { throw css::lang::IllegalArgumentException( "setPropertyValue not supported", - static_cast< cppu::OWeakObject * >(this), -1); + getXWeak(), -1); } css::uno::Any LocaleBackend::getPropertyValue( @@ -302,7 +302,7 @@ css::uno::Any LocaleBackend::getPropertyValue( return css::uno::Any(getUILocale()); } else { throw css::beans::UnknownPropertyException( - PropertyName, static_cast< cppu::OWeakObject * >(this)); + PropertyName, getXWeak()); } } |