diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/rtl/strbuf.hxx | 5 | ||||
-rw-r--r-- | include/rtl/string.hxx | 5 | ||||
-rw-r--r-- | include/rtl/stringconcat.hxx | 4 | ||||
-rw-r--r-- | include/rtl/ustrbuf.hxx | 4 | ||||
-rw-r--r-- | include/rtl/ustring.hxx | 4 |
5 files changed, 22 insertions, 0 deletions
diff --git a/include/rtl/strbuf.hxx b/include/rtl/strbuf.hxx index 8c9148b3e984..7cf4123d0ae8 100644 --- a/include/rtl/strbuf.hxx +++ b/include/rtl/strbuf.hxx @@ -34,6 +34,11 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_const_literal; +extern bool rtl_string_unittest_const_literal_function; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 827ab8e3fbd5..8f5d044e5a4e 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -39,6 +39,11 @@ #include <sal/log.hxx> +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_const_literal; +extern bool rtl_string_unittest_const_literal_function; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/stringconcat.hxx b/include/rtl/stringconcat.hxx index d5bc4e8eb500..9fd5332b2404 100644 --- a/include/rtl/stringconcat.hxx +++ b/include/rtl/stringconcat.hxx @@ -17,6 +17,10 @@ #ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING" +#if defined RTL_STRING_UNITTEST_CONCAT +extern bool rtl_string_unittest_invalid_concat; +#endif + #ifdef RTL_STRING_UNITTEST #define rtl rtlunittest #endif diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 4665d20b1d35..57c73a8012f8 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -35,6 +35,10 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_invalid_conversion; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index c6c312442dec..eed067c1b754 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -39,6 +39,10 @@ #include <rtl/stringconcat.hxx> #endif +#ifdef RTL_STRING_UNITTEST +extern bool rtl_string_unittest_invalid_conversion; +#endif + // The unittest uses slightly different code to help check that the proper // calls are made. The class is put into a different namespace to make // sure the compiler generates a different (if generating also non-inline) |