https://bugs.documentfoundation.org/show_bug.cgi?id=127214
Bug ID: 127214
Summary: Base files macros not being able to run through a
command line
Product: LibreOffice
Version: 6.2.4.2 release
Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: [email protected]
Reporter: [email protected]
Description:
I was trying to run a macro stored in a Base file like this:
soffice "C:\Users\nuno\AppData\Roaming\LineMap.odb"
"macro://LineMap/Reports.Report.genRep"
However it doesn't work.
A friend have debugged, and in SfxMacroLoader::loadMacro, the call to
SfxObjectShell::GetFirst() returns nullptr - it means that the open database
isn't listed among open shells - and thus doesn't offer the expected
functionality (unlike Writer or Calc components)
Steps to Reproduce:
1. soffice "C:\Users\nuno\AppData\Roaming\LineMap.odb"
"macro://LineMap/Reports.Report.genRep"
Actual Results:
Open file but doesn't fire up the macro
Expected Results:
Fire up the macro
Reproducible: Always
User Profile Reset: No
Additional Info:
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs