summaryrefslogtreecommitdiff
path: root/shell/source/backends/wininetbe/wininetbackend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/backends/wininetbe/wininetbackend.cxx')
-rw-r--r--shell/source/backends/wininetbe/wininetbackend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx
index 71de3b135b4c..109ef7fa6519 100644
--- a/shell/source/backends/wininetbe/wininetbackend.cxx
+++ b/shell/source/backends/wininetbe/wininetbackend.cxx
@@ -301,7 +301,7 @@ void WinInetBackend::setPropertyValue(
{
throw css::lang::IllegalArgumentException(
"setPropertyValue not supported",
- static_cast< cppu::OWeakObject * >(this), -1);
+ getXWeak(), -1);
}
css::uno::Any WinInetBackend::getPropertyValue(
@@ -333,7 +333,7 @@ css::uno::Any WinInetBackend::getPropertyValue(
return css::uno::Any(valueProxyType_);
} else {
throw css::beans::UnknownPropertyException(
- PropertyName, static_cast< cppu::OWeakObject * >(this));
+ PropertyName, getXWeak());
}
}