summaryrefslogtreecommitdiff
path: root/sc/inc/compare.hxx
AgeCommit message (Collapse)Author
2021-03-23tdf#124176 Use pragma once in s*Vincent LE GARREC
sc, scaddins, sccomp, scripting Change-Id: Ia99fec9e238033821cb784810edd4762c09bd5db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112049 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-09-13CompareOptions pDoc arg is never nullCaolán McNamara
Change-Id: I9b8822c5abef04cfeec7a80e82220f2638b77618 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102526 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2017-12-07loplugin:constparamsNoel Grandin
Change-Id: Ia322ecf8f80b28c58ec33d17ca9607401a92534b Reviewed-on: https://gerrit.libreoffice.org/45959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-23loplugin:constparam in sc part2Noel Grandin
Change-Id: I4fd18096d7d22d8c146a2437906187d5df1cb268 Reviewed-on: https://gerrit.libreoffice.org/41447 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-08-29loplugin:countusersofdefaultparamsNoel Grandin
Change-Id: I26f46ddac3d7d810ebfa1c3e7f1a77427369828e Reviewed-on: https://gerrit.libreoffice.org/28451 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-19change all bool bRegExp to utl::SearchParam::SearchType enum, tdf#72196Eike Rathke
Later inspect all places that use utl::SearchParam::SRCH_REGEXP if and how to use utl::SearchParam::SRCH_WILDCARD as well. Change-Id: I6ad4e5dea3cd656fd670f2281aaceec817953211
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I765d2a600f9c57da50c85354688e3ae796750d94
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-07-20Resolves: tdf#58838 do not use collation for Equal/NotEqual operatorsEike Rathke
Unicode collation ignores control characters and other specific characters, see http://www.unicode.org/charts/collation/chart_Ignored.html and thus is not suitable to be used for Equal/NotEqual operators. Change-Id: Ib84713e1da59d92e07bc974d93b6def8217bb067
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Ieeca9fe957e7bc6a4cf9d7d6ac57f9ed150aab78
2014-05-11fix-includes.pl: scThomas Arnhold
Change-Id: Iade3fedac5d2f8e978b7dd9c30f001d7d1564946
2014-04-19fixincludeguards.sh: scThomas Arnhold
sorry, huge one...
2014-03-03remove unused code in sc::CompareFuncNoel Grandin
sc::CompareFunc(double, sc::Compare::Cell const&, sc::CompareOptions*) Change-Id: I0fc3a1a038bb051672dcb180380e25258ac7552f
2013-10-20Reduce branching on empty matrix elements as well.Kohei Yoshida
This makes a big difference in performance. Change-Id: I88b48d10ff575d80c1c139278dc207d921f15848
2013-10-20Reduce branching in CompareMatrix(). This makes a big difference.Kohei Yoshida
Change-Id: I391e889a50864ae002e85d636b767d7c6f187a23
2013-10-20Pass cells to CompareFunc, rather than the whole Compare struct.Kohei Yoshida
Change-Id: I4d5554fc5783b123aa0f90b7c078e1fc0f0cd866
2013-10-20Store SharedString in Compare::Cell.Kohei Yoshida
This has a slight overhead for purely numeric comparisons. Change-Id: I243d5c81499177b3ae93b39a1af7c2f3b954bd39
2013-10-20Better way to organize 2 compared cell values.Kohei Yoshida
Turns out this is slightly faster too. Change-Id: I5a8c3474ab2a342200a5cfa9a93e6d89433595c4
2013-10-19Generate boolean comparison result array in one step.Kohei Yoshida
This is faster than doing it in two steps as was previously done. Change-Id: I1417e9c6add9d20ee8d68f0c1c91c7d24a0f79b3
2013-10-18Reduce the number of arguments. The first argument can go now.Kohei Yoshida
Change-Id: Id2b9ca7b6e24edc0da4735c01798ab580fba910d
2013-10-18Move the compare-matrix code to ScMatrix, for much faster execution.Kohei Yoshida
Change-Id: I3c4f255469b48cfd6f132503ff695e347d8ae912
2013-10-18Initial attempt to speed up matrix comparison.Kohei Yoshida
And move the value compare code to somewhere public. I'll be using it from the ScMatrix internal. This change requires mdds 0.9.1 which is yet to be released. Change-Id: I942133c85b614b3404006fa38af111ace9361fd4