https://bugs.freedesktop.org/show_bug.cgi?id=71248
--- Comment #12 from Justin L <[email protected]> --- s_aRegisteredVBAConstants in sfx2/source/doc/objxtor.cxx is never SET. A name for an XInterface is searched for, but no XInterfaces are ever entered into this map. If each Excel document is registered in here as "ThisExcelDoc", then SetCurrentComponent()/lclGetVBAGlobalConstName() will set the GlobalUNOConstant for ThisExcelDoc. Alternatively, if the document had a 'ThisVBADocObj' property assigned as 'ThisExcelDoc', lclGetVBAGlobalConstName() might work. I don't see anywhere where 'ThisVBADocObj'/UNO_NAME_VBA_DOCOBJ is assigned any value in the code. So basically, nothing about the lclGetVBAGlobalConstName seems to function. It is only used in objxtor.cxx, so all of this code can be removed I think. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
