tdf#115399: Don't kill pre-existing typelib_TypeDescription members

...in typelib_typedescription_register, in case they are already being
referenced from elsewhere.  Instead, only move from *ppNewDescription to
pTDR->pType those members that were not yet initialized in the latter.

Change-Id: I7620219d137f8dd7f24a0f4a04eda30669b6c5a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93062
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2020-04-28 15:07:45 +02:00
parent 8e7b61c485
commit 679163845b
4 changed files with 413 additions and 14 deletions
+1
View File
@@ -27,6 +27,7 @@ $(eval $(call gb_Module_add_check_targets,cppu,\
CppunitTest_cppu_qa_reference \
CppunitTest_cppu_qa_unotype \
CppunitTest_cppu_test_cppumaker \
CppunitTest_cppu_typelib \
))
# vim: set noet sw=4 ts=4: