summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-27 15:08:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-28 11:21:17 +0000
commit48a8d6d8434908690bc2a51d27f1051bd550c9b0 (patch)
tree066f8fc9753bdba62f87f205baface6e729857bf /linguistic
parentf7d6f3e4e3fda3cd4936880918e2831246634a3e (diff)
loplugin:singlevalfields in various
Change-Id: Ia0d8f463a4dba9ec63aa0159441e3e607dd3bf5e Reviewed-on: https://gerrit.libreoffice.org/26738 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.hxx2
-rw-r--r--linguistic/source/defs.hxx8
2 files changed, 2 insertions, 8 deletions
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index c96c4a81d781..f20599a15ea9 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -77,7 +77,6 @@ class ConvDicXMLImport : public SvXMLImport
sal_Int16 nLanguage; // language of the dictionary
sal_Int16 nConversionType; // conversion type the dictionary is used for
- bool bSuccess;
public:
@@ -88,7 +87,6 @@ public:
{
nLanguage = LANGUAGE_NONE;
nConversionType = -1;
- bSuccess = false;
}
virtual ~ConvDicXMLImport() throw ()
diff --git a/linguistic/source/defs.hxx b/linguistic/source/defs.hxx
index f356a494a4ea..96c6ee78d505 100644
--- a/linguistic/source/defs.hxx
+++ b/linguistic/source/defs.hxx
@@ -36,17 +36,15 @@ struct LangSvcEntries
css::uno::Sequence< OUString > aSvcImplNames;
sal_Int16 nLastTriedSvcIndex;
- bool bAlreadyWarned;
- bool bDoWarnAgain;
explicit LangSvcEntries( const css::uno::Sequence< OUString > &rSvcImplNames ) :
aSvcImplNames(rSvcImplNames),
- nLastTriedSvcIndex(-1), bAlreadyWarned(false), bDoWarnAgain(false)
+ nLastTriedSvcIndex(-1)
{
}
explicit LangSvcEntries( const OUString &rSvcImplName ) :
- nLastTriedSvcIndex(-1), bAlreadyWarned(false), bDoWarnAgain(false)
+ nLastTriedSvcIndex(-1)
{
aSvcImplNames.realloc(1);
aSvcImplNames[0] = rSvcImplName;
@@ -56,8 +54,6 @@ struct LangSvcEntries
{
aSvcImplNames.realloc(0);
nLastTriedSvcIndex = -1;
- bAlreadyWarned = false;
- bDoWarnAgain = false;
}
};