On 7/13/2025 11:04 PM, Regina Henschel wrote:
for a unit test for https://gerrit.libreoffice.org/c/core/+/187802 I need to have the source and the target document open at the same time. How can I do that in a unit test?
UnoApiTest has mxComponent2.You may assign to it using something like `mxComponent2 = loadFromDesktop(...)`. There are some samples of use of `mxComponent2`in sc and sw.
Hope this helps. -- Best regards, Mike Kaganski