diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-12 12:03:10 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-04-12 19:49:15 +0200 |
commit | 53a4b94d018820689e0b98d7fa0a92563e3971a1 (patch) | |
tree | 7bf9e41d527b2ad1f1216f8a2cf19fdc5c8aee0d /extensions | |
parent | d4257802159e672035fab164b0cabd9222f18515 (diff) |
Use more *string_view
OUString::equalsIgnoreAsciiCaseAscii and compareToIgnoreAsciiCaseAscii
taking string_view are added as overloads, rather than replacements to
the variants taking const char*, because the latter have benefit when
the passed C-style string's length is unknown, because these variants
don't pre-calculate the length.
Change-Id: I2def689d7b7784212dc6cd6b8ae9ab1d42604079
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150272
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/activex/StdAfx2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/activex/StdAfx2.h b/extensions/source/activex/StdAfx2.h index ed889271aed8..b2ab095e91f3 100644 --- a/extensions/source/activex/StdAfx2.h +++ b/extensions/source/activex/StdAfx2.h @@ -55,6 +55,7 @@ extern CComModule _Module; #include <atlcom.h> #include <atlctl.h> +#undef min #if defined __clang__ #pragma clang diagnostic pop |