summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filrset.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-18 11:34:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 09:05:58 +0200
commitcdbe8a8700d5460e41d80b00310c6ff8977bc492 (patch)
treefb8f92ea13ccffad72894770ff75c8e8abc2a6c7 /ucb/source/ucp/file/filrset.cxx
parent618baf4c5b40f19be6e47e1384fbc7a6b7610416 (diff)
loplugin:constantparam
and tweak the plugin to handle a crash seen with clang-9 Change-Id: Ie1ccf80c16a20dbca58e5bd081af13f75cf5ac8f Reviewed-on: https://gerrit.libreoffice.org/75850 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/file/filrset.cxx')
-rw-r--r--ucb/source/ucp/file/filrset.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx
index f9d1b8d503cd..770d3d38d988 100644
--- a/ucb/source/ucp/file/filrset.cxx
+++ b/ucb/source/ucp/file/filrset.cxx
@@ -216,8 +216,7 @@ XResultSet_impl::OneMore()
}
else if( err == osl::FileBase::E_None )
{
- if (!m_pMyShell->getv(
- nullptr, m_sProperty, aDirIte, aUnqPath, IsRegular, aRow ))
+ if (!m_pMyShell->getv( m_sProperty, aDirIte, aUnqPath, IsRegular, aRow ))
{
SAL_WARN(
"ucb.ucp.file",