From 6ed0ffe9177ff6851e1b1e338dd92f81e7987f57 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Wed, 2 Feb 2022 15:20:13 +0900 Subject: vba: small fixes for GetOpenFilename and documenting structs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Check the XFileDialogSelectedItems is using the expected impl. after dynamic_casting. Rename VbaKeyBinding to VbaMacroKeyAndMethodBinding and document the struct. Change-Id: Ica4b24fed3013c5efa97a14e98bf9bdc2c74b68d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129320 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- oox/source/ole/vbamodule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oox/source/ole/vbamodule.cxx') diff --git a/oox/source/ole/vbamodule.cxx b/oox/source/ole/vbamodule.cxx index 0fc9609653f3..d53e525989e6 100644 --- a/oox/source/ole/vbamodule.cxx +++ b/oox/source/ole/vbamodule.cxx @@ -136,7 +136,7 @@ void VbaModule::createAndImportModule( StorageBase& rVbaStrg, void VbaModule::registerShortcutKeys() { - for (VbaKeyBinding const& rKeyBinding : maKeyBindings) + for (VbaMacroKeyAndMethodBinding const& rKeyBinding : maKeyBindings) { try { -- cgit