diff options
author | sb <sb@openoffice.org> | 2010-03-12 10:43:00 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-03-12 10:43:00 +0100 |
commit | a42347c3910d5921047094d19e5166daad13354b (patch) | |
tree | 45eb77aadd05374d1e6c21e6821ea3483d47fc21 /stoc | |
parent | 9a832a9bdbda66a0c3bfec2ce3eb7ba5bcc2eb44 (diff) |
sb121: #i110049# avoid aliasing problem by stripping down not-to-be-called function
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/corereflection/criface.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index ec325ce11db1..95d9990257f5 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -877,7 +877,8 @@ sal_Bool InterfaceIdlClassImpl::isAssignableFrom( const Reference< XIdlClass > & Uik InterfaceIdlClassImpl::getUik() throw(::com::sun::star::uno::RuntimeException) { - return *(Uik *)&getTypeDescr()->aUik; + return Uik(0, 0, 0, 0, 0); + // Uiks are deprecated and this function must not be called } //__________________________________________________________________________________________________ Sequence< Reference< XIdlMethod > > InterfaceIdlClassImpl::getMethods() |