diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-07 10:01:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-07 10:01:38 +0100 |
commit | 02c70c3b931cd0a42357d560d981b9caa7ad4a8a (patch) | |
tree | 77b2dc8e8d0479f2642d275a35d217694f233074 /bridges | |
parent | 43d20d0b95a3b01217c123d3f1f678ca8c134584 (diff) |
WaE: tweak for simple-minder compilers
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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; } } |