diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-06 21:26:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-07 10:41:48 +0200 |
commit | 578a9d4ab0fead1639bfaa432bfe6f189ddc2038 (patch) | |
tree | 42cf2fde91c348d12be579b01a8aeb07cf2f0392 /vcl/source | |
parent | b8e46cb2f5d7433f5ed88b02a4a9d0186409d84b (diff) |
cid#1545993 COPY_INSTEAD_OF_MOVE
Change-Id: I3234bce1f3b71f10529d5874552566d7abcb3a95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170077
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/pdfwriter_impl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx index 65325a0c938d..3f6d9bbcbfdd 100644 --- a/vcl/source/gdi/pdfwriter_impl.cxx +++ b/vcl/source/gdi/pdfwriter_impl.cxx @@ -3771,13 +3771,13 @@ we check in the following sequence: } else { - INetURLObject aNewURL(rtl::Uri::convertRelToAbs( + //reassign the new target URL + aTargetURL = INetURLObject(rtl::Uri::convertRelToAbs( (m_aContext.BaseURL.getLength() > 0 ? m_aContext.BaseURL : //use dummy location if empty u"http://ahost.ax"_ustr), url)); - aTargetURL = aNewURL; //reassign the new target URL //recompute the target protocol, with the new URL //normal URL processing resumes |