On 29/07/2025 16:36, Regina Henschel wrote:
Hi all,

in https://gerrit.libreoffice.org/c/core/+/188364 I get an error,

linker failure
linker cannot find SdDrawDocument::getPresentation() const

with indication
uiimpress.o: in function `testTdf166647_userpaint::TestBody()':
uiimpress.cxx:(.text+0xeb66): undefined reference to `SdDrawDocument::getPresentation() const'

in
https://ci.libreoffice.org/job/gerrit_linux_gcc_release/192884/ consoleFull#52459380718ea88b4-cafc-4624-83a7-468a3ab5c53a

I have no idea what is wrong. Locally, with VS 2022 and Cygwin, there is no failure.

drawdoc.hxx has this:
SAL_DLLPRIVATE const css::uno::Reference< css::presentation::XPresentation2 >& getPresentation() const;

What to do?

remove SAL_DLLPRIVATE from this declaration

Reply via email to