diff options
author | Justin Luth <justin.luth@collabora.com> | 2022-09-23 07:41:23 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-09-23 17:38:15 +0200 |
commit | 3bfed17b047422a8c4e98ab80001f3158afb227e (patch) | |
tree | 127346903168225dc801c8834e6d4238861bc638 /include/unotools | |
parent | 23cbe9b969db11f9fb25d8dffe8d801e002b5e94 (diff) |
tdf#123990 sc condformat: case insensitive begins/ends/contains
This is how Excel handles these.
At first I was afraid that this would upset LibreOffice users,
but then I realized that equals already is case insensitive,
so this change ought to be more consistent, and thus there should
be fewer outcrys.
Change-Id: Ia3de78d5888672ba8b774866d41ecd65293397c1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140484
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/collatorwrapper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/unotools/collatorwrapper.hxx b/include/unotools/collatorwrapper.hxx index 595d9ccf4f41..1552a7ce9b36 100644 --- a/include/unotools/collatorwrapper.hxx +++ b/include/unotools/collatorwrapper.hxx @@ -45,6 +45,9 @@ class UNOTOOLS_DLLPUBLIC CollatorWrapper compareString ( const OUString& s1, const OUString& s2) const; + sal_Int32 compareSubstring (const OUString& s1, sal_Int32 off1, sal_Int32 len1, + const OUString& s2, sal_Int32 off2, sal_Int32 len2) const; + css::uno::Sequence< OUString > listCollatorAlgorithms ( const css::lang::Locale& rLocale) const; |