diff options
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdic.cxx | 4 | ||||
-rw-r--r-- | linguistic/source/dicimp.cxx | 4 | ||||
-rw-r--r-- | linguistic/source/dlistimp.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 071cb8d310df..7c2c602a79fa 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -93,7 +93,7 @@ static void ReadThroughDic( const OUString &rMainURL, ConvDicXMLImport &rImport if (!xIn.is()) return; - SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xIn ) ); + SvStreamPtr pStream( utl::UcbStreamHelper::CreateStream( xIn ) ); // prepare ParserInputSource xml::sax::InputSource aParserInput; @@ -246,7 +246,7 @@ void ConvDic::Save() if (!xStream.is()) return; - SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); + SvStreamPtr pStream( utl::UcbStreamHelper::CreateStream( xStream ) ); // get XML writer uno::Reference< xml::sax::XWriter > xSaxWriter = xml::sax::Writer::create(xContext); diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index b99f632c9842..f6a976679641 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -293,7 +293,7 @@ ErrCode DictionaryNeo::loadEntries(const OUString &rMainURL) if (!xStream.is()) return ErrCode(sal_uInt32(-1)); - SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); + SvStreamPtr pStream( utl::UcbStreamHelper::CreateStream( xStream ) ); // read header bool bNegativ; @@ -427,7 +427,7 @@ ErrCode DictionaryNeo::saveEntries(const OUString &rURL) if (!xStream.is()) return ErrCode(sal_uInt32(-1)); - SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); + SvStreamPtr pStream( utl::UcbStreamHelper::CreateStream( xStream ) ); // Always write as the latest version, i.e. DIC_VERSION_7 diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 9ca759a18da3..115fdca74669 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -820,7 +820,7 @@ static bool IsVers2OrNewer( const OUString& rFileURL, LanguageType& nLng, bool& if (!xStream.is()) return false; - SvStreamPtr pStream = SvStreamPtr( utl::UcbStreamHelper::CreateStream( xStream ) ); + SvStreamPtr pStream( utl::UcbStreamHelper::CreateStream( xStream ) ); int nDicVersion = ReadDicVersion(pStream, nLng, bNeg, aDicName); return 2 == nDicVersion || nDicVersion >= 5; |