diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:24:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-17 09:29:50 +0200 |
commit | 185e01c015528cafbddcda5dfdabf816ce8be20e (patch) | |
tree | 1342baec7abca149c1477902cafdd16ad8b250f7 /sax/source/fastparser/fastparser.cxx | |
parent | 1e917af27d18d934f3e9122aa98cd950b74ca246 (diff) |
loplugin:sequentialassign in sc
Change-Id: I9287d266cd5267e194f2539f95a7efff3824e9b1
Reviewed-on: https://gerrit.libreoffice.org/70715
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax/source/fastparser/fastparser.cxx')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 92a5f7a87b38..f255147f131b 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -806,8 +806,7 @@ void FastSaxParserImpl::parseStream(const InputSource& rStructSource) if (rEntity.mbEnableThreads) { - rtl::Reference<ParserThread> xParser; - xParser = new ParserThread(this); + rtl::Reference<ParserThread> xParser = new ParserThread(this); xParser->launch(); aEnsureFree.setThread(xParser); bool done = false; |