diff options
Diffstat (limited to 'linguistic/source/convdic.cxx')
-rw-r--r-- | linguistic/source/convdic.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 3f7a902f602d..2be418d18e06 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -141,7 +141,7 @@ bool IsConvDic( const OUString &rFileURL, sal_Int16 &nLang, sal_Int16 &nConvType // 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 ); + ConvDicXMLImport *pImport = new ConvDicXMLImport( nullptr ); //!! keep a first reference to ensure the lifetime of the object !! uno::Reference< XInterface > xRef( static_cast<document::XFilter *>(pImport), UNO_QUERY ); |