Kaydet (Commit) dbab26d1 authored tarafından Miklos Vajna's avatar Miklos Vajna

dbaccess: handle StreamRelPath in ODBFilter::implImport()

Change-Id: I8a4d21f8bef272a6cdb5a72da274e65516c36617
üst efdd2151
......@@ -457,6 +457,10 @@ bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
try
{
xStorage.set(pMedium->GetStorage(false), UNO_QUERY_THROW);
OUString sStreamRelPath = aMediaDescriptor.getOrDefault("StreamRelPath", OUString());
if (!sStreamRelPath.isEmpty())
xStorage = xStorage->openStorageElement(sStreamRelPath, embed::ElementModes::READ);
}
catch (const Exception&)
{
......
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