From 5b92a7f211adb229a45c7dedf1ce63e15fcfe5d9 Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Sat, 14 Jan 2023 10:52:20 -0500 Subject: [PATCH] tdf#117266 sc oox: macro button unit test Change-Id: I50b8b5a2d29a5892490a7dbd4cc428786147d500 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145519 Tested-by: Jenkins Reviewed-by: Justin Luth --- .../unit/data/xlsm/tdf117266_macroButton.xlsm | Bin 0 -> 8664 bytes sc/qa/unit/subsequent_export_test2.cxx | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 sc/qa/unit/data/xlsm/tdf117266_macroButton.xlsm diff --git a/sc/qa/unit/data/xlsm/tdf117266_macroButton.xlsm b/sc/qa/unit/data/xlsm/tdf117266_macroButton.xlsm new file mode 100644 index 0000000000000000000000000000000000000000..f587ba639c7ecaac6ba8d4fd7f966bed40b005bc GIT binary patch literal 8664 zcmaJ`1yq#l(sy_vuF3byJzS3zRx`K%=~5s2ta&52#1P_3dbA7`2y~qV8E`8TrBKexj64W%i`OW zJGn7~_rc+;r%&c3P;=ijE6O#~@=>)hIFi?f<#z=fo;)MK$Be4#jCOwQdt+L-pyJp=(a6GUq*;fE|i&a41JW>LT z!f%-En!`Pn2yrpc^x(ZQ4_yz`*^R_^wtA5_<@?}6ppt{#6GwS!idSNfSG4F7Xx)1h z6!X1{1V7+oSp=hdEm-(8_Al-yVv}NW%PHZd(5~LHVG2Fe3~hz`+6k)l6ite|Xw+ z{b?x=kc*uu2xQ0U>0tk-)#BQf5ovLQ_kGZLJxuBuyHhQ|Jd7=*>ePN!)y-2uw3sh0 zPfTs?$?FAF%q^ELU+3ufT*&Y8ywA_cO(sIcOco|a#;Qm!N(XD#Myw+-CG5{u?#Z<{(l+@=TAf3 zH&K*&uj4E?Zp$g#g9Qiq1zYlDM6J45I0J~F(oiB_m9~0;M07pj^=TwCo6;!NtIA%T zv-QD&@s)Lb`F+%G^fJ1KCy49*eQumzI87I+6BZJ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