diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-01-30 20:37:38 +0000 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2025-02-03 10:40:28 +0100 |
commit | 75c1c3a25a36065d25f56a472ad3fcaf645c0041 (patch) | |
tree | 5b0fd54978246bc78015108d251566890fa3d0bf /desktop/source | |
parent | e8fe17a10aaccb3c73e4e3e9cc6883243af09fff (diff) |
Filter out more unwanted command URIs
Change-Id: I24c95d73b4fee89bdf044d5dd6efc9cd89627c54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181014
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/cmdlineargs.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index 3a3f876f6e90..331e3d309619 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -166,7 +166,7 @@ CommandLineEvent CheckOfficeURI(/* in,out */ OUString& arg, CommandLineEvent cur if (nURIlen < 0) nURIlen = rest2.getLength(); auto const uri = rest2.subView(0, nURIlen); - if (INetURLObject(uri).GetProtocol() == INetProtocol::Macro) { + if (INetURLObject(uri).IsExoticProtocol()) { // Let the "Open" machinery process the full command URI (leading to failure, by intention, // as the "Open" machinery does not know about those command URI schemes): curEvt = CommandLineEvent::Open; |