diff options
author | Noel Grandin <noel@peralex.com> | 2021-11-22 11:16:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-22 12:20:18 +0100 |
commit | 1b327e4a33a2a2c575c247ea90365652d6549852 (patch) | |
tree | bbcaf99ff95680c2abce5cda1b03186df5704f06 /include | |
parent | a70bd820da49401e7c233ae254ce954954344d33 (diff) |
tdf#133835 speedup calc autofilter (9)
Remove the temporary buffer in INetURLObject::setAbsURIRef,
and just write directly to the main buffer.
This is a behaviour change since we are "committing" bad data to the
buffer if the URL is incorrect, but since it that case we set the
whole object to be invalid, that should not matter.
Change-Id: Ic8e7d4027bcb927005edd7de4098f4f525412869
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125648
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/urlobj.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index 6413d2787f96..6bba4d9aa13b 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -255,7 +255,7 @@ public: // General Structure: INetURLObject(): - m_eScheme(INetProtocol::NotValid), m_eSmartScheme(INetProtocol::Http) {} + m_aAbsURIRef(256), m_eScheme(INetProtocol::NotValid), m_eSmartScheme(INetProtocol::Http) {} bool HasError() const { return m_eScheme == INetProtocol::NotValid; } |