summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/xml/xmlfilter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 10:33:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 14:37:11 +0200
commit07e87211c2b2e98fd176fef2018723b50c8dbb1a (patch)
tree34ccdfe4aeaecdc4d646462a6634e7852c0ced35 /dbaccess/source/filter/xml/xmlfilter.cxx
parent3e62ac3e9ef2f6759d8faca2c012dba51c314ba5 (diff)
loplugin:simplifyconstruct in dbaccess..drawinglayer
Change-Id: I83624d8bc787aaaaf6071171c882a6e5bde70a0d Reviewed-on: https://gerrit.libreoffice.org/60075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/filter/xml/xmlfilter.cxx')
-rw-r--r--dbaccess/source/filter/xml/xmlfilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index a57dc9477bf7..c5f5d58f1545 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -305,7 +305,7 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
{
uno::Reference<XComponent> xCom(GetModel(),UNO_QUERY);
- tools::SvRef<SfxMedium> pMedium(nullptr);
+ tools::SvRef<SfxMedium> pMedium;
if (!xStorage.is())
{
OUString sStreamRelPath;