[Libreoffice-commits] core.git: sw/source
Szymon Kłos
szymon.klos at collabora.com
Wed Nov 22 09:09:51 UTC 2017
sw/source/uibase/wrtsh/wrtsh2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit fd51f01dbca1ddebe846ec9f56cbb13002f295c6
Author: Szymon Kłos <szymon.klos at collabora.com>
Date: Tue Nov 21 22:43:10 2017 +0100
tdf#86087 fix relative link open on linux
Change-Id: I6bf2d6bd50b9f1ed7a2c3f66fc18598aa7ffe3d6
Reviewed-on: https://gerrit.libreoffice.org/45053
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
Tested-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index c40d80c3087d..f85206f4c656 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -528,7 +528,7 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
bCorrectURL &= aURL.insertName( sFileURL );
if( bCorrectURL )
- sFileURL = aURL.getFSysPath( FSysStyle::Detect );
+ sFileURL = aURL.GetMainURL( INetURLObject::DecodeMechanism::Unambiguous );
}
// We are doing tiledRendering, let the client handles the URL loading.
More information about the Libreoffice-commits
mailing list