summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg/tphfedit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/pagedlg/tphfedit.cxx')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 8206ffef7f65..617f2208a9f9 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -253,7 +253,7 @@ css::uno::Reference< css::accessibility::XAccessible > ScEditWindow::CreateAcces
{
rtl::Reference<ScAccessibleEditControlObject> tmp = new ScAccessibleEditControlObject(this, ScAccessibleEditObject::EditControl);
mxAcc = tmp.get();
- return css::uno::Reference<css::accessibility::XAccessible>(static_cast<cppu::OWeakObject*>(tmp.get()), css::uno::UNO_QUERY_THROW);
+ return tmp;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */