summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-15 16:40:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 09:47:00 +0200
commitc037063b2324e6779f7c845899772239e6d64112 (patch)
treef44173aa1317d35fe1598a2c3309d3e0bb6c5375 /linguistic
parent8a118589217464d4325d9b587b8cee12639d3db6 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I20d0bd3eeb7661b51193ba01042e15ef62629ed3
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx9
1 files 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;