diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 11:43:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 14:28:13 +0100 |
commit | d5c86be04ee4ab4dba14bc70adc91bf5888dc31c (patch) | |
tree | dfdcb1010028531fa8f95e9f5f4bca2d3d085ded /include/rtl | |
parent | f9d3e0f57c173494d250aadd0022abb738634f43 (diff) |
No need for RTL_USING in addition to LIBO_INTERNAL_ONLY
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
Diffstat (limited to 'include/rtl')
-rw-r--r-- | include/rtl/strbuf.hxx | 2 | ||||
-rw-r--r-- | include/rtl/string.hxx | 2 | ||||
-rw-r--r-- | include/rtl/ustrbuf.hxx | 2 | ||||
-rw-r--r-- | include/rtl/ustring.hxx | 9 |
4 files changed, 7 insertions, 8 deletions
diff --git a/include/rtl/strbuf.hxx b/include/rtl/strbuf.hxx index b135298e1ced..22aa20b0534d 100644 --- a/include/rtl/strbuf.hxx +++ b/include/rtl/strbuf.hxx @@ -992,7 +992,7 @@ typedef rtlunittest::OStringBuffer OStringBuffer; #undef RTL_STRING_CONST_FUNCTION #endif -#ifdef RTL_USING +#ifdef LIBO_INTERNAL_ONLY using ::rtl::OStringBuffer; #endif diff --git a/include/rtl/string.hxx b/include/rtl/string.hxx index 0f65c430433a..d11b18be0a7a 100644 --- a/include/rtl/string.hxx +++ b/include/rtl/string.hxx @@ -1752,7 +1752,7 @@ typedef rtlunittest::OString OString; #undef RTL_STRING_CONST_FUNCTION #endif -#ifdef RTL_USING +#ifdef LIBO_INTERNAL_ONLY using ::rtl::OString; using ::rtl::OStringHash; using ::rtl::OStringLiteral; diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 8bba42921fbc..2cefab86b4dc 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -1451,7 +1451,7 @@ typedef rtlunittest::OUStringBuffer OUStringBuffer; } #endif -#ifdef RTL_USING +#ifdef LIBO_INTERNAL_ONLY using ::rtl::OUStringBuffer; #endif diff --git a/include/rtl/ustring.hxx b/include/rtl/ustring.hxx index 0d4a7159868e..1dab50f811bd 100644 --- a/include/rtl/ustring.hxx +++ b/include/rtl/ustring.hxx @@ -2593,11 +2593,10 @@ typedef rtlunittest::OUString OUString; } #endif -// RTL_USING is defined by gbuild for all modules except those with stable public API -// (as listed in ure/source/README). It allows to use classes like OUString without -// having to explicitly refer to the rtl namespace, which is kind of superfluous -// given that OUString itself is namespaced by its OU prefix. -#ifdef RTL_USING +// In internal code, allow to use classes like OUString without having to +// explicitly refer to the rtl namespace, which is kind of superfluous given +// that OUString itself is namespaced by its OU prefix: +#ifdef LIBO_INTERNAL_ONLY using ::rtl::OUString; using ::rtl::OUStringHash; using ::rtl::OStringToOUString; |