diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-21 10:37:23 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-10-21 12:17:23 +0200 |
commit | 84552eaf8c50b46ab2c98ad70b6473b4db31baee (patch) | |
tree | 2464e435ea4a53c5b61e998e2787e1a6dcc62161 /o3tl/qa/test-unit_conversion.cxx | |
parent | 848f9b2c56ce4c4620f62f1fbf9d12d84ec4da96 (diff) |
documentLoadWithOptions takes URLs
m_aDocPath is set in lok_doc_view_set_property from data
coming from gtv_application_open's calls to g_file_get_path.
So the path is not a proper file URL, which is expected by
documentLoadWithOptions. Some Linux paths can happen to be
able to convert to absolute URL in rtl::Uri::convertRelToAbs,
but not all, and not e.g. Windows paths.
Change-Id: I0a17cb84000603336a6809b0179bbda3d54aec23
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141579
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'o3tl/qa/test-unit_conversion.cxx')
0 files changed, 0 insertions, 0 deletions