From c037063b2324e6779f7c845899772239e6d64112 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 15 Aug 2012 16:40:03 +0200 Subject: -Werror,-Wunused-private-field (Clang towards 3.2) Change-Id: I20d0bd3eeb7661b51193ba01042e15ef62629ed3 --- linguistic/source/convdicxml.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 485d3dc9f6d2..197e4fa2814c 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -149,16 +149,13 @@ class ConvDicXMLEntryTextContext_Impl : { OUString aLeftText; sal_Int16 nPropertyType; // used for Chinese simplified/traditional conversion - ConvDicXMLDictionaryContext_Impl &rDicContext; public: ConvDicXMLEntryTextContext_Impl( ConvDicXMLImport &rImport, - sal_uInt16 nPrefix, const OUString& rLName, - ConvDicXMLDictionaryContext_Impl &rParentContext ) : + sal_uInt16 nPrefix, const OUString& rLName ) : ConvDicXMLImportContext( rImport, nPrefix, rLName ), - nPropertyType( ConversionPropertyType::NOT_DEFINED ), - rDicContext( rParentContext ) + nPropertyType( ConversionPropertyType::NOT_DEFINED ) { } @@ -252,7 +249,7 @@ SvXMLImportContext * ConvDicXMLDictionaryContext_Impl::CreateChildContext( { SvXMLImportContext *pContext = 0; if ( nPrefix == XML_NAMESPACE_TCD && rLocalName == "entry" ) - pContext = new ConvDicXMLEntryTextContext_Impl( GetConvDicImport(), nPrefix, rLocalName, *this ); + pContext = new ConvDicXMLEntryTextContext_Impl( GetConvDicImport(), nPrefix, rLocalName ); else pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName ); return pContext; -- cgit