diff options
Diffstat (limited to 'sax/source/expatwrap')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index e54c9fcc1d22..1caf6cddbc3b 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -1307,7 +1307,7 @@ void SAXWriter::startCDATA(void) throw(SAXException, RuntimeException) void SAXWriter::endCDATA(void) throw (RuntimeException) { - if( ! m_bDocStarted | ! m_bIsCDATA) + if( ! m_bDocStarted || ! m_bIsCDATA) { SAXException except; except.Message = OUString( "endCDATA was called without startCDATA" ); |