diff --git a/crates/pptx/src/write/mod.rs b/crates/pptx/src/write/mod.rs index 228c9379..0ce5af26 100644 --- a/crates/pptx/src/write/mod.rs +++ b/crates/pptx/src/write/mod.rs @@ -586,7 +586,7 @@ pub fn export(p: &Presentation, main_ct: &str) -> Result, PptxError> { x.pkg.rels(&tname, &to.rels); let mut w = W::new(); root_open(&mut w, "p:handoutMaster", A::new()); - csld(&mut w, &mut x, &mut ho, &hm.name, hm.background.as_ref(), &hm.shapes); + csld(&mut w, &mut x, &mut ho, &hm.name, hm.background.as_ref(), &hm.shapes, &[]); clr_map(&mut w, &hm.color_map); w.close("p:handoutMaster"); x.pkg.xml_part(handout_path, CT_HANDOUT_MASTER, w.finish()); diff --git a/crates/pptx/tests/corpus_kinds.rs b/crates/pptx/tests/corpus_kinds.rs index 52dae76e..1f2d2f46 100644 --- a/crates/pptx/tests/corpus_kinds.rs +++ b/crates/pptx/tests/corpus_kinds.rs @@ -154,6 +154,8 @@ fn sections() -> Presentation { action: Action::Url { url: "https://example.org/brief?q=1&x=2".into() }, tooltip: "Open the brief".into(), highlight_click: false, + sound: None, + stop_sound: false, }), ..Default::default() },