summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/bc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/bc.cxx')
-rw-r--r--ucb/source/ucp/file/bc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx
index c5e47c6b0b55..ddb44589d2c0 100644
--- a/ucb/source/ucp/file/bc.cxx
+++ b/ucb/source/ucp/file/bc.cxx
@@ -1042,7 +1042,7 @@ void BaseContent::insert( sal_Int32 nMyCommandIdentifier,
OUString(getTitle(m_aUncPath)),
rtl_UriDecodeWithCharset,
RTL_TEXTENCODING_UTF8),
- static_cast<cppu::OWeakObject*>(this),
+ getXWeak(),
m_pMyShell,nMyCommandIdentifier);
uno::Reference<task::XInteractionRequest> const& xReq(aRequestImpl.getRequest());