Files
loongoffice/framework/source/fwe
Mike Kaganski 9b911aaa3d tdf#124213: handle private URLs as non-remote
Since commit 26c106a5aeca3e50d1e3c3d37e622b2743a23bca "append '(Remote)'
in the titlebar when remote file is opened", 2015-08-14, the titlebar
shows "(remote)" for documents with non-empty URLs that are not file
scheme.

When recovering a non-existing document, the URL is a factory one like
"private:factory/swriter"; and INetURLObject::GetProtocol() call returns
PrivSoffice.

Indeed, recovery of a non-existing document doesn't make sense itself,
and is fixed by Justin elsewhere; but let's fix the general logic here.

Change-Id: Ibaf095981c37a2fd64f745ad0966465d98a4ed4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171027
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-07-25 23:09:11 +02:00
..
2024-05-08 17:18:51 +02:00
2024-05-08 17:18:51 +02:00