summaryrefslogtreecommitdiff
path: root/sd/source/ui/framework/factories/Pane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/framework/factories/Pane.cxx')
-rw-r--r--sd/source/ui/framework/factories/Pane.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx
index bbf081c85c16..ffbb5e001d4e 100644
--- a/sd/source/ui/framework/factories/Pane.cxx
+++ b/sd/source/ui/framework/factories/Pane.cxx
@@ -146,14 +146,7 @@ const Sequence<sal_Int8>& Pane::getUnoTunnelId()
sal_Int64 SAL_CALL Pane::getSomething (const Sequence<sal_Int8>& rId)
{
- sal_Int64 nResult = 0;
-
- if (comphelper::isUnoTunnelId<Pane>(rId))
- {
- nResult = reinterpret_cast<sal_Int64>(this);
- }
-
- return nResult;
+ return comphelper::getSomethingImpl(rId, this);
}
Reference<rendering::XCanvas> Pane::CreateCanvas()