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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 1c3ee79607af..9959489eed3f 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -825,8 +825,8 @@ void FastSaxParserImpl::parseStream(const InputSource& maStructSource)
{
rtl::Reference<ParserThread> xParser;
xParser = new ParserThread(this);
- aEnsureFree.setThread(xParser);
xParser->launch();
+ aEnsureFree.setThread(xParser);
bool done = false;
do {
rEntity.maConsumeResume.wait();