provide uno::Sequence with ostream output operator

Desktop / LibreOffice - Thorsten Behrens [CIB.de] - 13 January 2018 01:05 EST

Alongside Anys and other UNO data types, you can now also stream out Sequences, e.g. in SAL_INFO or SAL_DEBUG statements.

Example code:

uno::Sequence aBuffer... SAL_DEBUG("my buffer: " << aBuffer);

Would yield:

debug:: my buffer: 0xb6, 0x61, 0xa8, ...

Change-Id: I03b0789372c44a4dd057625824862f43b1b8dfdc Reviewed-on: https://gerrit.libreoffice.org/47779

37b4b3ea042a provide uno::Sequence with ostream output operator
include/com/sun/star/uno/Sequence.hxx | 79 +++++++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)

Upstream: cgit.freedesktop.org


  • Share