summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/DrawController.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r--sd/source/ui/unoidl/DrawController.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx
index 39a763ec8c45..66e1fd142f27 100644
--- a/sd/source/ui/unoidl/DrawController.cxx
+++ b/sd/source/ui/unoidl/DrawController.cxx
@@ -561,14 +561,7 @@ const Sequence<sal_Int8>& DrawController::getUnoTunnelId()
sal_Int64 SAL_CALL DrawController::getSomething (const Sequence<sal_Int8>& rId)
{
- sal_Int64 nResult = 0;
-
- if (comphelper::isUnoTunnelId<DrawController>(rId))
- {
- nResult = sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_IntPtr>(this));
- }
-
- return nResult;
+ return comphelper::getSomethingImpl(rId, this);
}
//===== Properties ============================================================