summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-02 14:24:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-02 14:49:11 +0100
commitfd8682cc34826229f67d51c387f6f6aa0b2c228a (patch)
tree7db4259ae53f5a850407a6242b915146a9d2b425 /sax
parent5717312686aeeeabdf09635cf44d5c46a023c8bd (diff)
fix indent
Change-Id: Ife7b28fcb67051c41831ef9eb566c3a2c148033d
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx34
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)