include/com/sun/star/uno/Sequence.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6de7e74a0dc981cf0947eb9941fc6dc2cd7cc395
Author:     Michael Stahl <michael.st...@cib.de>
AuthorDate: Wed Feb 13 14:17:46 2019 +0100
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Tue Feb 26 17:21:14 2019 +0100

    fix Sequence ostream operator<< wrt. const
    
    Change-Id: I0e9cf35b45b0bcd58ce9d987ffb0384afda4c5dd
    Reviewed-on: https://gerrit.libreoffice.org/68022
    Tested-by: Jenkins
    Reviewed-by: Eike Rathke <er...@redhat.com>

diff --git a/include/com/sun/star/uno/Sequence.hxx 
b/include/com/sun/star/uno/Sequence.hxx
index 64f84ffc7bc3..e9f5cf73db35 100644
--- a/include/com/sun/star/uno/Sequence.hxx
+++ b/include/com/sun/star/uno/Sequence.hxx
@@ -257,7 +257,7 @@ struct negation : std::integral_constant<bool, 
!bool(B::value)> { };
    @since LibreOffice 6.1
 */
 template< typename value_t, typename charT, typename traits >
-inline typename std::enable_if<uno_detail::negation<std::is_same<sal_Int8, 
value_t>>::value, std::basic_ostream<charT, traits>>::type 
&operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence < value_t 
> &v)
+inline typename std::enable_if<uno_detail::negation<std::is_same<sal_Int8, 
value_t>>::value, std::basic_ostream<charT, traits>>::type 
&operator<<(std::basic_ostream<charT, traits> &os, css::uno::Sequence<value_t> 
const& v)
 {
     const value_t *pAry = v.getConstArray();
     sal_Int32 nLen = v.getLength();
@@ -266,7 +266,7 @@ inline typename 
std::enable_if<uno_detail::negation<std::is_same<sal_Int8, value
 }
 
 template< typename value_t, typename charT, typename traits >
-inline typename std::enable_if<std::is_same<sal_Int8, value_t>::value, 
std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, 
traits> &os, css::uno::Sequence < value_t > &v)
+inline typename std::enable_if<std::is_same<sal_Int8, value_t>::value, 
std::basic_ostream<charT, traits>>::type &operator<<(std::basic_ostream<charT, 
traits> &os, css::uno::Sequence<value_t> const& v)
 {
     // specialisation for signed bytes
     const sal_Int8 *pAry = v.getConstArray();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to