diff options
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 4c84101a92d6..fec468223977 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -50,6 +50,7 @@ #include <oox/token/tokens.hxx> #include <formula/grammar.hxx> #include <oox/export/drawingml.hxx> +#include <oox/ole/vbaexport.hxx> #include <excelvbaproject.hxx> #include <sfx2/docfile.hxx> @@ -1091,6 +1092,9 @@ bool XclExpXmlStream::exportDocument() "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml", "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" ) ); + VbaExport aExport(getModel()); + aExport.exportVBA(); + // destruct at the end of the block { ExcDocument aDocRoot( aRoot ); |