From a42347c3910d5921047094d19e5166daad13354b Mon Sep 17 00:00:00 2001 From: sb Date: Fri, 12 Mar 2010 10:43:00 +0100 Subject: sb121: #i110049# avoid aliasing problem by stripping down not-to-be-called function --- stoc/source/corereflection/criface.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'stoc') 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() -- cgit