From e0dbab555bf6811e2ef5d908f481667fc0afef4f Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 13 Feb 2019 14:14:35 +0100 Subject: fix Sequence ostream operator<< wrt. const Change-Id: I924f5d8505f2c2132c79304e19cf89a8ef466ae4 Reviewed-on: https://gerrit.libreoffice.org/67771 Tested-by: Jenkins Reviewed-by: Michael Stahl --- include/com/sun/star/uno/Sequence.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/com') diff --git a/include/com/sun/star/uno/Sequence.hxx b/include/com/sun/star/uno/Sequence.hxx index 33014a81a4fd..83ddfb9d8101 100644 --- a/include/com/sun/star/uno/Sequence.hxx +++ b/include/com/sun/star/uno/Sequence.hxx @@ -254,7 +254,7 @@ void sequence_output_bytes( std::basic_ostream &os, const value_t @since LibreOffice 6.1 */ template< typename value_t, typename charT, typename traits > -inline std::basic_ostream &operator<<(std::basic_ostream &os, css::uno::Sequence < value_t > &v) +inline std::basic_ostream &operator<<(std::basic_ostream &os, css::uno::Sequence const& v) { const value_t *pAry = v.getConstArray(); sal_Int32 nLen = v.getLength(); -- cgit