cid#1545593 COPY_INSTEAD_OF_MOVE

Change-Id: I8252fcd741996b8019edd1fac63e27908fe362d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170019
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-07-05 13:55:53 +01:00
parent 4889e0de06
commit bc6215f809

View file

@ -98,9 +98,8 @@ bool XmlFilterAdaptor::importImpl( const Sequence< css::beans::PropertyValue >&
if (It != aMediaMap.end() && (It->second >>= aFilterName)
&& aFilterName == "OpenDocument Text Flat XML")
{
PropertyValue EmptyDbFieldHidesPara(u"EmptyDbFieldHidesPara"_ustr, 0, Any(false),
PropertyState::PropertyState_DIRECT_VALUE);
Sequence<PropertyValue> aSettings{ EmptyDbFieldHidesPara };
Sequence<PropertyValue> aSettings{ PropertyValue(u"EmptyDbFieldHidesPara"_ustr, 0,
Any(false), PropertyState::PropertyState_DIRECT_VALUE) };
xInfoSet->setPropertyValue(u"DefaultDocumentSettings"_ustr, Any(aSettings));
}
Sequence< Any > aAnys{ Any(xInfoSet) };