[Libreoffice-commits] .: bridges/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Apr 7 03:02:47 PDT 2011
bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 0a7fb6bbfb56ef406edf98cf26c0f99158d5e23f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Apr 7 10:01:38 2011 +0100
WaE: tweak for simple-minder compilers
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx
index c8caf16..58f51a2 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;
}
}
More information about the Libreoffice-commits
mailing list