Luboš Luňák
e47e0cb0ad
make sure SharedString::EMPTY_STRING is interned in pools (tdf#150647)
...
Without this, it may not actually be there, so interning "" would
use a different string instance, and then comparing with
SharedString::getEmptyString() would actually compare non-equal.
Change-Id: I22660f63aa321e3a8f72cfb96df1db56e08fbb84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140402
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com >
2022-09-23 11:51:24 +02:00
Philipp Hofer
01baeab998
tdf#123936 Formatting files in module include with clang-format
...
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com >
Tested-by: Jenkins
2020-11-21 13:19:17 +01:00
Noel Grandin
ffdd06c223
SharedStringPool is always called with a CharClass
...
Change-Id: Ib2b9963a90a135998b6189fba521bd85f5579cf5
Reviewed-on: https://gerrit.libreoffice.org/58645
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk >
2018-08-07 09:52:26 +02:00
Noel Grandin
0d62716f67
use unique_ptr for pImpl in svl/
...
Change-Id: Ieef897314ac0f056c0a09a5182ca59800fd58f41
2015-11-18 08:35:34 +02:00
Stephan Bergmann
bff4c13475
Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
...
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
Stephan Bergmann
cf0448b95d
loplugin:deletedspecial
...
Change-Id: Id4f2e6cd7d689ac0b4688d92780b48d51427307a
2015-02-07 12:36:03 +01:00
Kohei Yoshida
bbc9992094
Apply pimpl to svl::SharedStringPool.
...
Change-Id: I351505f0c1cb25c47897e0cfffdb258f8e87081f
2014-11-18 22:33:20 -05:00
Noel Grandin
e395801fd2
remove unused code svl::SharedStringPool::SharedStringPool()
...
Change-Id: I497cb89d0b204b9de9c31f86837664d107e55033
2014-03-03 08:58:59 +02:00
Norbert Thiebaud
7ae156f693
fdo#65108 inter-module includes <> include/svl
...
Change-Id: I8b28f3c6df5d11112aff732159c913b4ffb1cc6f
2013-11-09 18:48:43 -06:00
Kohei Yoshida
7045802f27
Add mutex to guard the shared string pool content.
...
Change-Id: I0eb97d0fbeaefd8a1c86d240ed8bd7f208fb662e
2013-11-06 20:40:22 -05:00
Thomas Arnhold
dbddac3261
fixincludeguards.sh: include/s*
...
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-10-23 23:22:29 +02:00
Kohei Yoshida
3786609a15
No more getIdentifier*() calls because they are not efficient.
...
They shall never be used.
Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
2013-10-08 15:48:12 -04:00
Kohei Yoshida
f4bda54cda
Re-implement interning in order to return both string arrays.
...
One is for the cased string and the other one for the non-cased one.
Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
2013-10-08 15:44:33 -04:00
Kohei Yoshida
3ff650d565
Rename StringPool to SharedStringPool because that's what it is.
...
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
2013-10-04 19:15:26 -04:00