diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hlinettp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx index c64f8e7fa01b..2269f3447296 100644 --- a/cui/source/dialogs/hlinettp.cxx +++ b/cui/source/dialogs/hlinettp.cxx @@ -91,7 +91,7 @@ void SvxHyperlinkInternetTp::FillDlgFields(const OUString& rStrURL) if (xTransferable->getTransferData(aFlavor) >>= aClipBoardContent) { // tdf#162753 - allow only syntactically valid hyperlink targets - INetURLObject aURL(aClipBoardContent); + INetURLObject aURL(o3tl::trim(aClipBoardContent)); if (!aURL.HasError()) aStrURL = aURL.GetMainURL(INetURLObject::DecodeMechanism::Unambiguous); |