diff options
Diffstat (limited to 'sd/source/ui/framework/factories/Pane.cxx')
-rw-r--r-- | sd/source/ui/framework/factories/Pane.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/framework/factories/Pane.cxx b/sd/source/ui/framework/factories/Pane.cxx index 0245cdbb357f..265eb5636952 100644 --- a/sd/source/ui/framework/factories/Pane.cxx +++ b/sd/source/ui/framework/factories/Pane.cxx @@ -151,8 +151,7 @@ sal_Int64 SAL_CALL Pane::getSomething (const Sequence<sal_Int8>& rId) { sal_Int64 nResult = 0; - if (rId.getLength() == 16 - && memcmp(getUnoTunnelId().getConstArray(), rId.getConstArray(), 16) == 0) + if (isUnoTunnelId<Pane>(rId)) { nResult = reinterpret_cast<sal_Int64>(this); } |