Kaydet (Commit) ca030879 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

tdf#121337: Fail on GIO error in GIO UCP getPropertyValue

Change-Id: I10ffe50be56ed99539f59f043a710863652d2394
üst b7d0b49f
......@@ -544,7 +544,12 @@ uno::Reference< sdbc::XRow > Content::getPropertyValues(
const uno::Sequence< beans::Property >& rProperties,
const uno::Reference< ucb::XCommandEnvironment >& xEnv )
{
GFileInfo *pInfo = getGFileInfo(xEnv);
GError * err = nullptr;
GFileInfo *pInfo = getGFileInfo(xEnv, &err);
if (pInfo == nullptr && !mbTransient) {
ucbhelper::cancelCommandExecution(mapGIOError(err), xEnv);
}
assert(err == nullptr);
return getPropertyValuesFromGFileInfo(pInfo, m_xContext, xEnv, rProperties);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment