summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-02-02 15:20:13 +0900
committerTomaž Vajngerl <quikee@gmail.com>2022-02-06 06:49:15 +0100
commit6ed0ffe9177ff6851e1b1e338dd92f81e7987f57 (patch)
treed1c6e2f95f15a0cccb2d2db464bf49b64b2db7e5 /oox
parentc0269fe079f4cefe5a5d98a31e8dda5f60ccb09e (diff)
vba: small fixes for GetOpenFilename and documenting structs
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 <quikee@gmail.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ole/vbamodule.cxx2
1 files changed, 1 insertions, 1 deletions
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
{