diff options
Diffstat (limited to 'linguistic/source/dicimp.cxx')
-rw-r--r-- | linguistic/source/dicimp.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index 983af78a7148..f79af0186006 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -331,11 +331,10 @@ sal_uLong DictionaryNeo::loadEntries(const OUString &rMainURL) } else if (DIC_VERSION_7 == nDicVersion) { - bool bSuccess; OString aLine; // remaining lines - stock strings (a [==] b) - while ((bSuccess = pStream->ReadLine(aLine))) + while (pStream->ReadLine(aLine)) { if (aLine[0] == '#') // skip comments continue; @@ -385,7 +384,7 @@ struct TmpDictionary } catch (const uno::Exception &) { } } - TmpDictionary(const OUString &rURL) + explicit TmpDictionary(const OUString &rURL) : maURL( rURL ) { maTmpURL = maURL + ".tmp"; |