diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-19 17:06:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-19 21:32:21 +0000 |
commit | ef3fb927977681c3e5b5160e961e240063a8cb70 (patch) | |
tree | 0a756831c00337109ca77cc7c566b979d8701e0d | |
parent | 7d9a7020eb5777f5baaa8beb6af5db9a8796c7c9 (diff) |
I want HAVE_SFINAE_ANONYMOUS_BROKEN here rather than RTL_FAST_STRING
Change-Id: Ie5cd55aa7ba4773f3cffbed924467787596dfc9d
-rw-r--r-- | xmlreader/inc/xmlreader/span.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlreader/inc/xmlreader/span.hxx b/xmlreader/inc/xmlreader/span.hxx index f7cd157b0348..23df2ba99547 100644 --- a/xmlreader/inc/xmlreader/span.hxx +++ b/xmlreader/inc/xmlreader/span.hxx @@ -59,7 +59,7 @@ struct OOO_DLLPUBLIC_XMLREADER Span { begin, length, text.getStr(), text.getLength()) == 0; } -#ifdef RTL_FAST_STRING +#ifndef HAVE_SFINAE_ANONYMOUS_BROKEN /** @overload This function accepts an ASCII string literal as its argument. @@ -68,7 +68,7 @@ struct OOO_DLLPUBLIC_XMLREADER Span { equals( T& literal, typename rtl::internal::ConstCharArrayDetector< T, rtl::internal::Dummy >::Type = rtl::internal::Dummy() ) SAL_THROW(()) { assert( strlen( literal ) == rtl::internal::ConstCharArrayDetector< T >::size - 1 ); - return rtl_str_compare_WithLength( begin, length, literal, rtl::internal::ConstCharArrayDetector< T, void >::size - 1 ); + return rtl_str_compare_WithLength( begin, length, literal, rtl::internal::ConstCharArrayDetector< T, void >::size - 1 ) == 0; } #endif |