diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-10 15:51:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-10 15:55:26 +0100 |
commit | 5e08f6103ba4baa3300cd18223f8f60c4d53f3f6 (patch) | |
tree | 7f05d6a2609eaca5c40aba8cd4379ef51be92e3c /include/rtl/ustrbuf.hxx | |
parent | cc407e50e8a1a74f9d1ed29d444dce9bd2e9167a (diff) |
Fix addition of OStringBuffer::append(bool) overload
...and while at it, improve generated documentation.
Change-Id: I6b80b19f18cd41cd01e272bbb6e91aad2f7853f3
Diffstat (limited to 'include/rtl/ustrbuf.hxx')
-rw-r--r-- | include/rtl/ustrbuf.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx index 84e15b6b7d09..f3470da77145 100644 --- a/include/rtl/ustrbuf.hxx +++ b/include/rtl/ustrbuf.hxx @@ -576,6 +576,7 @@ public: return append( sz, rtl_ustr_valueOfBoolean( sz, b ) ); } + /// @cond INTERNAL // Pointer can be automatically converted to bool, which is unwanted here. // Explicitly delete all pointer append() overloads to prevent this // (except for char* and sal_Unicode* overloads, which are handled elsewhere). @@ -583,6 +584,7 @@ public: typename internal::Enable< void, !internal::CharPtrDetector< T* >::ok && !internal::SalUnicodePtrDetector< T* >::ok >::Type append( T* ) SAL_DELETED_FUNCTION; + /// @endcond // This overload is needed because OUString has a ctor from rtl_uString*, but // the bool overload above would be prefered to the conversion. |