diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-22 11:38:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-23 08:59:20 +0200 |
commit | cb37c5f0f3de7b545231a53d46a5271058af76ad (patch) | |
tree | 8281f1ceb0363276f29526d9307ba2647679e54c /linguistic/source | |
parent | 0f347c04bf1305c634b761f92ff487e831bc564c (diff) |
loplugin:unusedfields in jvmfwk..mysqlc
Change-Id: If9c7a3239fceba9a2db3a5905ccaa7fa9adadb08
Reviewed-on: https://gerrit.libreoffice.org/39099
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdic.cxx | 4 | ||||
-rw-r--r-- | linguistic/source/convdic.hxx | 1 | ||||
-rw-r--r-- | linguistic/source/convdicxml.cxx | 6 |
3 files changed, 2 insertions, 9 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 0e952a516843..ca0304fa4480 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -179,12 +179,11 @@ ConvDic::ConvDic( bNeedEntries = true; bIsModified = bIsActive = false; - bIsReadonly = false; if( !rMainURL.isEmpty() ) { bool bExists = false; - bIsReadonly = IsReadOnly( rMainURL, &bExists ); + IsReadOnly( rMainURL, &bExists ); if( !bExists ) // new empty dictionary { @@ -193,7 +192,6 @@ ConvDic::ConvDic( //! that could be found by the dictionary-list implementation // (Note: empty dictionaries are not just empty files!) Save(); - bIsReadonly = IsReadOnly( rMainURL ); // will be sal_False if Save was successful } } else diff --git a/linguistic/source/convdic.hxx b/linguistic/source/convdic.hxx index 53167b7123a7..6c41586df6da 100644 --- a/linguistic/source/convdic.hxx +++ b/linguistic/source/convdic.hxx @@ -77,7 +77,6 @@ protected: bool bNeedEntries; bool bIsModified; bool bIsActive; - bool bIsReadonly; // disallow copy-constructor and assignment-operator for now ConvDic(const ConvDic &); diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index e5ac95339348..7829d2c891f4 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -125,14 +125,12 @@ class ConvDicXMLEntryTextContext_Impl : public ConvDicXMLImportContext { OUString aLeftText; - sal_Int16 nPropertyType; // used for Chinese simplified/traditional conversion public: ConvDicXMLEntryTextContext_Impl( ConvDicXMLImport &rImport, sal_uInt16 nPrefix, const OUString& rLName ) : - ConvDicXMLImportContext( rImport, nPrefix, rLName ), - nPropertyType( ConversionPropertyType::NOT_DEFINED ) + ConvDicXMLImportContext( rImport, nPrefix, rLName ) { } @@ -256,8 +254,6 @@ void ConvDicXMLEntryTextContext_Impl::StartElement( if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "left-text" ) aLeftText = aValue; - if ( nPrefix == XML_NAMESPACE_TCD && aLocalName == "property-type" ) - nPropertyType = (sal_Int16) aValue.toInt32(); } } |