From b69864f3f8c9be2e1f28f4b422074d2040b084a0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Jan 2014 08:48:26 +0200 Subject: re-write SvStream operator<< to non-overloaded methods This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot Reviewed-by: Michael Stahl --- sw/source/filter/ww8/rtfstringbuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter/ww8/rtfstringbuffer.cxx') diff --git a/sw/source/filter/ww8/rtfstringbuffer.cxx b/sw/source/filter/ww8/rtfstringbuffer.cxx index 811cba097c8a..1d652db1faa0 100644 --- a/sw/source/filter/ww8/rtfstringbuffer.cxx +++ b/sw/source/filter/ww8/rtfstringbuffer.cxx @@ -26,7 +26,7 @@ RtfStringBufferValue::RtfStringBufferValue(const SwFlyFrmFmt* pFlyFrmFmt, const void RtfStringBufferValue::makeStringAndClear(RtfAttributeOutput* pAttributeOutput) { if (!isGraphic()) - pAttributeOutput->m_rExport.Strm() << m_aBuffer.makeStringAndClear().getStr(); + pAttributeOutput->m_rExport.Strm().WriteCharPtr( m_aBuffer.makeStringAndClear().getStr() ); else pAttributeOutput->FlyFrameGraphic(m_pFlyFrmFmt, m_pGrfNode); } -- cgit