diff options
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index bd00da63dd84..29ad4bf376c3 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -1275,8 +1275,7 @@ void SAXWriter::startCDATA() throw SAXException (); } - sal_Int32 nLength = 9; - sal_Int32 nPrefix = getIndentPrefixLength( nLength ); + sal_Int32 nPrefix = getIndentPrefixLength( 9 ); if( nPrefix >= 0 ) m_pSaxWriterHelper->insertIndentation( nPrefix ); @@ -1294,8 +1293,7 @@ void SAXWriter::endCDATA() throw except; } - sal_Int32 nLength = 3; - sal_Int32 nPrefix = getIndentPrefixLength( nLength ); + sal_Int32 nPrefix = getIndentPrefixLength( 3 ); if( nPrefix >= 0 ) m_pSaxWriterHelper->insertIndentation( nPrefix ); |