summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filrset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/file/filrset.cxx')
-rw-r--r--ucb/source/ucp/file/filrset.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/ucb/source/ucp/file/filrset.cxx b/ucb/source/ucp/file/filrset.cxx
index 29e1b9124784..4cad6911abe2 100644
--- a/ucb/source/ucp/file/filrset.cxx
+++ b/ucb/source/ucp/file/filrset.cxx
@@ -228,8 +228,14 @@ XResultSet_impl::OneMore()
}
else if( err == osl::FileBase::E_None )
{
- aRow = m_pMyShell->getv(
- this, m_sProperty, aDirIte, aUnqPath, IsRegular );
+ if (!m_pMyShell->getv(
+ this, m_sProperty, aDirIte, aUnqPath, IsRegular, aRow ))
+ {
+ SAL_WARN(
+ "ucb.ucp.file",
+ "getting dir item in <" << m_aBaseDirectory << "> failed");
+ continue;
+ }
if( m_nOpenMode == ucb::OpenMode::DOCUMENTS && IsRegular )
{