diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:24:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:49:11 +0100 |
commit | fd8682cc34826229f67d51c387f6f6aa0b2c228a (patch) | |
tree | 7db4259ae53f5a850407a6242b915146a9d2b425 /sax | |
parent | 5717312686aeeeabdf09635cf44d5c46a023c8bd (diff) |
fix indent
Change-Id: Ife7b28fcb67051c41831ef9eb566c3a2c148033d
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
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) |