Kaydet (Commit) b6e1a001 authored tarafından Peter Foley's avatar Peter Foley Kaydeden (comit) Tor Lillqvist

fix StackOverflowException in climaker

Change-Id: I640eddb4496d295d3cea9f45875b415d419060f4
Reviewed-on: https://gerrit.libreoffice.org/448Reviewed-by: 's avatarTor Lillqvist <tml@iki.fi>
Tested-by: 's avatarTor Lillqvist <tml@iki.fi>
üst 6fa1a74e
......@@ -277,15 +277,12 @@ Assembly ^ TypeEmitter::type_resolve(
::System::Object ^, ::System::ResolveEventArgs ^ args )
{
::System::String ^ cts_name = args->Name;
::System::Type ^ ret_type = m_module_builder->GetType(
cts_name, false /* no exc */ );
if (nullptr == ret_type)
{
iface_entry ^ entry = dynamic_cast< iface_entry ^ >(
m_incomplete_ifaces[cts_name] );
if (nullptr != entry)
ret_type = entry->m_type_builder;
}
::System::Type ^ ret_type;
iface_entry ^ entry = dynamic_cast< iface_entry ^ >(m_incomplete_ifaces[cts_name] );
if (nullptr != entry)
ret_type = entry->m_type_builder;
if (nullptr == ret_type)
{
sal_Int32 len = m_extra_assemblies->Length;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment