From 02c70c3b931cd0a42357d560d981b9caa7ad4a8a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 7 Apr 2011 10:01:38 +0100 Subject: WaE: tweak for simple-minder compilers --- bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bridges') diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx index f6ec4d13590a..106cb211b570 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx @@ -267,7 +267,7 @@ static typelib_TypeClass __cdecl cpp_mediate( TypeDescription aMemberDescr( pTypeDescr->ppAllMembers[nMemberPos] ); - typelib_TypeClass eRet; + typelib_TypeClass eRet = typelib_TypeClass_VOID; switch (aMemberDescr.get()->eTypeClass) { case typelib_TypeClass_INTERFACE_ATTRIBUTE: @@ -353,8 +353,6 @@ static typelib_TypeClass __cdecl cpp_mediate( throw RuntimeException( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("no member description found!") ), (XInterface *)pThis ); - // is here for dummy - eRet = typelib_TypeClass_VOID; } } -- cgit