diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2022-03-13 12:28:21 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-03-13 19:17:11 +0100 |
commit | 36ad7bf558295a4b8474127b3c9bcc954f459bbe (patch) | |
tree | 40e359f13e45fa74bf17fc98ea36cb607ace4f6f /oox | |
parent | f13c92951d242b8c19d93a757a0b45ce1ff0f987 (diff) |
Fix typo in code
Change-Id: Ide7c82fadf701e8f16468c153d871757d6a92569
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131496
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ole/vbaexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |