oox/source/ole/vbaexport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 36ad7bf558295a4b8474127b3c9bcc954f459bbe Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Sun Mar 13 12:28:21 2022 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Mar 13 19:17:11 2022 +0100 Fix typo in code Change-Id: Ide7c82fadf701e8f16468c153d871757d6a92569 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131496 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx index a5f54160094b..fa9640e54137 100644 --- a/oox/source/ole/vbaexport.cxx +++ b/oox/source/ole/vbaexport.cxx @@ -730,7 +730,7 @@ void writePROJECTMODULE(SvStream& rStrm, const OUString& name, const sal_uInt16 } // section 2.3.4.2.3 -void writePROJECTMODULES(SvStream& rStrm, const css::uno::Reference<css::container::XNameContainer>& xNameContainer, const std::vector<sal_Int32>& rLibrayMap) +void writePROJECTMODULES(SvStream& rStrm, const css::uno::Reference<css::container::XNameContainer>& xNameContainer, const std::vector<sal_Int32>& rLibraryMap) { const css::uno::Sequence<OUString> aElementNames = xNameContainer->getElementNames(); sal_Int32 n = aElementNames.getLength(); @@ -746,7 +746,7 @@ void writePROJECTMODULES(SvStream& rStrm, const css::uno::Reference<css::contain for (sal_Int32 i = 0; i < n; ++i) { - const OUString& rModuleName = aElementNames[rLibrayMap[i]]; + const OUString& rModuleName = aElementNames[rLibraryMap[i]]; css::script::ModuleInfo aModuleInfo = xModuleInfo->getModuleInfo(rModuleName); writePROJECTMODULE(rStrm, rModuleName, aModuleInfo.ModuleType); }