summaryrefslogtreecommitdiff
path: root/svx/inc/sdr
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-12-04 17:26:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-12-04 19:36:35 +0100
commit695b570c505d4e977d77dea9d69f62ffdce16611 (patch)
treec3c8f8d136885f1116fa470047b901b664a2267f /svx/inc/sdr
parentdfe3c23c790a2917d01d8f3dd74a6b6448e9b476 (diff)
ofz#41602 fix more build failure in ubsan build
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 <caolanm@redhat.com>
Diffstat (limited to 'svx/inc/sdr')
-rw-r--r--svx/inc/sdr/contact/viewobjectcontactofsdrmediaobj.hxx5
1 files changed, 3 insertions, 2 deletions
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 <svx/sdr/contact/viewobjectcontactofsdrobj.hxx>
#include <svx/sdr/contact/viewobjectcontact.hxx>
+#include <config_features.h>
#include <tools/gen.hxx>
#include <memory>
@@ -51,9 +52,9 @@ namespace sdr::contact
void executeMediaItem( const ::avmedia::MediaItem& rItem );
private:
-
+#if HAVE_FEATURE_AVMEDIA
std::unique_ptr<sdr::contact::SdrMediaWindow> mpMediaWindow;
-
+#endif
};
} // end of namespace sdr::contact