From 695b570c505d4e977d77dea9d69f62ffdce16611 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 4 Dec 2021 17:26:42 +0000 Subject: ofz#41602 fix more build failure in ubsan build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Step #30 - "compile-libfuzzer-undefined-x86_64": instdir/program/libsvxcorelo.a(viewobjectcontactofsdrmediaobj.o)(.data..L__unnamed_6+0x18): error: undefined reference to 'typeinfo for sdr::contact::SdrMediaWindow' Step #30 - "compile-libfuzzer-undefined-x86_64": clang-14: error: linker command failed with exit code 1 (use -v to see invocation) Step #30 - "compile-libfuzzer-undefined-x86_64": make[1]: *** [/src/libreoffice/vcl/Executable_pptfuzzer.mk:13: instdir/program/pptfuzzer] Error 1 Step #30 - "compile-libfuzzer-undefined-x86_64": make: *** [Makefile:170: Executable_pptfuzzer] Error 2 Change-Id: I5e19ad82e376a84e90dd9ebe90806903d995ccbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126363 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'svx/inc/sdr') diff --git a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index a990f405087b..21fbed38142c 100644 --- a/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -22,6 +22,7 @@ #include #include +#include #include #include @@ -51,9 +52,9 @@ namespace sdr::contact void executeMediaItem( const ::avmedia::MediaItem& rItem ); private: - +#if HAVE_FEATURE_AVMEDIA std::unique_ptr mpMediaWindow; - +#endif }; } // end of namespace sdr::contact -- cgit v1.2.3