summaryrefslogtreecommitdiff
path: root/include/rtl/ustrbuf.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-08-25 20:52:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-08-26 12:34:15 +0200
commit4382d36ffd38f2481f83e59fd11ead8d62e08a39 (patch)
tree2ddfe26d9f498af9e7b9ece0865430617ec15ef7 /include/rtl/ustrbuf.hxx
parent4f6551d24279aab31b23f4dd668f42d6e3d15348 (diff)
Except[Const]CharArrayDetector is only used by RTL_STRING_UNITTEST
...which in turn should be a LIBO_INTERNAL_ONLY feature, so confine all relevant declarations accordingly Change-Id: I7545eadad6f097d0ee905583b1610631c92f1858 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101373 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/rtl/ustrbuf.hxx')
-rw-r--r--include/rtl/ustrbuf.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx
index dcd228e9eea8..2d957d81064e 100644
--- a/include/rtl/ustrbuf.hxx
+++ b/include/rtl/ustrbuf.hxx
@@ -181,7 +181,8 @@ public:
}
#endif
-#ifdef RTL_STRING_UNITTEST
+#if defined LIBO_INTERNAL_ONLY && defined RTL_STRING_UNITTEST
+ /// @cond INTERNAL
/**
* Only used by unittests to detect incorrect conversions.
* @internal
@@ -206,6 +207,7 @@ public:
rtl_uString_newFromLiteral( &pData, "!!br0ken!!", 10, 0 ); // set to garbage
rtl_string_unittest_invalid_conversion = true;
}
+ /// @endcond
#endif
#ifdef LIBO_INTERNAL_ONLY // "RTL_FAST_STRING"