summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-18 11:24:01 +0200
committerNoel Grandin <noel@peralex.com>2014-03-18 11:25:17 +0200
commit85341374cb9c2244d8d681b1b44909a9fa829f11 (patch)
tree740b3c60f12081de825e776d11dd57ea76ce9652 /linguistic
parent309951d6d6fcea92a91b8074798158c00bf14040 (diff)
remove unused parameter
Change-Id: Iab723e78b0305dadee5598b21a9ea78093109b65
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.cxx4
-rw-r--r--linguistic/source/convdicxml.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx
index beee73245465..3e909c7d5136 100644
--- a/linguistic/source/convdic.cxx
+++ b/linguistic/source/convdic.cxx
@@ -141,7 +141,7 @@ sal_Bool IsConvDic( const OUString &rFileURL, sal_Int16 &nLang, sal_Int16 &nConv
// first argument being 0 should stop the file from being parsed
// up to the end (reading all entries) when the required
// data (language, conversion type) is found.
- ConvDicXMLImport *pImport = new ConvDicXMLImport( 0, rFileURL );
+ ConvDicXMLImport *pImport = new ConvDicXMLImport( 0 );
//!! keep a first reference to ensure the lifetime of the object !!
uno::Reference< XInterface > xRef( (document::XFilter *) pImport, UNO_QUERY );
@@ -220,7 +220,7 @@ void ConvDic::Load()
//!! prevent function from being called recursively via HasEntry, AddEntry
bNeedEntries = sal_False;
- ConvDicXMLImport *pImport = new ConvDicXMLImport( this, aMainURL );
+ ConvDicXMLImport *pImport = new ConvDicXMLImport( this );
//!! keep a first reference to ensure the lifetime of the object !!
uno::Reference< XInterface > xRef( (document::XFilter *) pImport, UNO_QUERY );
ReadThroughDic( aMainURL, *pImport ); // will implicitly add the entries
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index de5fada1466e..21f48d650c8b 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -83,7 +83,7 @@ class ConvDicXMLImport : public SvXMLImport
public:
//!! see comment for pDic member
- ConvDicXMLImport( ConvDic *pConvDic, const OUString& /*&rFileName*/ ) :
+ ConvDicXMLImport( ConvDic *pConvDic ) :
SvXMLImport ( comphelper::getProcessComponentContext(), "com.sun.star.lingu2.ConvDicXMLImport", IMPORT_ALL ),
pDic ( pConvDic )
{