From fd8682cc34826229f67d51c387f6f6aa0b2c228a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 2 Oct 2014 14:24:31 +0100 Subject: fix indent Change-Id: Ife7b28fcb67051c41831ef9eb566c3a2c148033d --- sax/source/expatwrap/saxwriter.cxx | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'sax') diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 819c06bfebd9..79374ab4cd92 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -890,25 +890,25 @@ public: public: // XActiveDataSource virtual void SAL_CALL setOutputStream(const Reference< XOutputStream > & aStream) throw (RuntimeException, std::exception) SAL_OVERRIDE - { - // temporary: set same stream again to clear buffer - if ( m_out == aStream && m_pSaxWriterHelper && m_bDocStarted ) - m_pSaxWriterHelper->clearBuffer(); - else - { - - m_out = aStream; - delete m_pSaxWriterHelper; - m_pSaxWriterHelper = new SaxWriterHelper(m_out); - m_bDocStarted = false; - m_nLevel = 0; - m_bIsCDATA = false; - - } - } + { + // temporary: set same stream again to clear buffer + if ( m_out == aStream && m_pSaxWriterHelper && m_bDocStarted ) + m_pSaxWriterHelper->clearBuffer(); + else + { + m_out = aStream; + delete m_pSaxWriterHelper; + m_pSaxWriterHelper = new SaxWriterHelper(m_out); + m_bDocStarted = false; + m_nLevel = 0; + m_bIsCDATA = false; + } + } virtual Reference< XOutputStream > SAL_CALL getOutputStream(void) throw(RuntimeException, std::exception) SAL_OVERRIDE - { return m_out; } + { + return m_out; + } public: // XDocumentHandler virtual void SAL_CALL startDocument(void) -- cgit