summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorsb <sb@openoffice.org>2010-03-12 10:43:00 +0100
committersb <sb@openoffice.org>2010-03-12 10:43:00 +0100
commita42347c3910d5921047094d19e5166daad13354b (patch)
tree45eb77aadd05374d1e6c21e6821ea3483d47fc21 /stoc
parent9a832a9bdbda66a0c3bfec2ce3eb7ba5bcc2eb44 (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.cxx3
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()