diff options
Diffstat (limited to 'cppuhelper/qa/unourl/cppu_unourl.cxx')
-rw-r--r-- | cppuhelper/qa/unourl/cppu_unourl.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cppuhelper/qa/unourl/cppu_unourl.cxx b/cppuhelper/qa/unourl/cppu_unourl.cxx index 1a9ba70f7231..01261724828b 100644 --- a/cppuhelper/qa/unourl/cppu_unourl.cxx +++ b/cppuhelper/qa/unourl/cppu_unourl.cxx @@ -67,7 +67,7 @@ namespace cppu_unourl { "abc,def=%22", true }, { "abc,def=\"", true }, { "abc,def=%ed%a0%80", true } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; try @@ -117,7 +117,7 @@ namespace cppu_unourl { "abc,def=%22", "abc,def=%22" }, { "abc,def=\"", "abc,def=\"" }, { "abc,def=%ed%a0%80", "abc,def=%ed%a0%80" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aDescriptor; @@ -165,7 +165,7 @@ namespace cppu_unourl { "abc,def=%22", "abc" }, { "abc,def=\"", "abc" }, { "abc,def=%ed%a0%80", "abc" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aName; @@ -210,7 +210,7 @@ namespace cppu_unourl { "abc,def=xxx,ghi=xxx", "def", true }, { "abc,def=xxx,ghi=xxx", "ghi", true }, { "abc,def=xxx,ghi=xxx", "jkl", false } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; bool bPresent = false; @@ -280,7 +280,7 @@ namespace cppu_unourl { "abc,abc=,def=Abc", "def", "Abc" }, { "abc,abc=,def=aBC", "def", "aBC" }, { "abc,abc=,def=ABC", "def", "ABC" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aValue; @@ -323,7 +323,7 @@ namespace cppu_unourl { "uno:abc;def;1", true }, { "uno:abc;def;$&+,/:=?@", true }, { "uno:abc;def;%24&+,/:=?@", false } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; try @@ -361,7 +361,7 @@ namespace cppu_unourl { "uno:ABC;def;ghi", "ABC" }, { "uno:abc,def=xxx,ghi=xxx;def,ghi=xxx,jkl=xxx;ghi", "abc,def=xxx,ghi=xxx" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aConnection; @@ -395,7 +395,7 @@ namespace cppu_unourl { "uno:abc;DEF;ghi", "DEF" }, { "uno:abc,def=xxx,ghi=xxx;def,ghi=xxx,jkl=xxx;ghi", "def,ghi=xxx,jkl=xxx" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aProtocol; @@ -432,7 +432,7 @@ namespace cppu_unourl { "uno:abc;def;A", "A" }, { "uno:abc;def;1", "1" }, { "uno:abc;def;$&+,/:=?@", "$&+,/:=?@" } }; - for (size_t i = 0; i < SAL_N_ELEMENTS(aTests); ++i) + for (size_t i = 0; i < std::size(aTests); ++i) { bool bValid = false; OUString aObjectName; |