summaryrefslogtreecommitdiff
path: root/sax/source/fastparser/fastparser.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source/fastparser/fastparser.cxx')
-rw-r--r--sax/source/fastparser/fastparser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 1a80ed1ab65a..d373762bbcc9 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -441,7 +441,7 @@ void FastSaxParser::parseStream( const InputSource& maStructSource) throw (SAXEx
entity.maStructSource = maStructSource;
if( !entity.maStructSource.aInputStream.is() )
- throw SAXException( OUString( "No input source" ), Reference< XInterface >(), Any() );
+ throw SAXException("No input source", Reference< XInterface >(), Any() );
entity.maConverter.setInputStream( entity.maStructSource.aInputStream );
if( !entity.maStructSource.sEncoding.isEmpty() )
@@ -450,7 +450,7 @@ void FastSaxParser::parseStream( const InputSource& maStructSource) throw (SAXEx
// create parser with proper encoding
entity.mpParser = XML_ParserCreate( 0 );
if( !entity.mpParser )
- throw SAXException( OUString( "Couldn't create parser" ), Reference< XInterface >(), Any() );
+ throw SAXException("Couldn't create parser", Reference< XInterface >(), Any() );
// set all necessary C-Callbacks
XML_SetUserData( entity.mpParser, this );