Kaydet (Commit) 047ea102 authored tarafından Luboš Luňák's avatar Luboš Luňák

workaround for a strange mingw problem caused by fast string operator+

error: no matching function for call to ‘transform(const com::sun::star::beans::NamedValue*,
const com::sun::star::beans::NamedValue*, com::sun::star::uno::Any*,
<unresolved overloaded function type>)’

Change-Id: I7d38a7ee13497fd11b2cea340e2f800dd78f485f
üst 150270b0
......@@ -356,11 +356,12 @@ namespace comphelper
::com::sun::star::uno::Sequence< VALUE_TYPE > aValues;
*this >>= aValues;
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > aWrappedValues( aValues.getLength() );
::com::sun::star::uno::Any (* const makeAny)(const VALUE_TYPE&) = ::com::sun::star::uno::makeAny< VALUE_TYPE >;
::std::transform(
aValues.getConstArray(),
aValues.getConstArray() + aValues.getLength(),
aWrappedValues.getArray(),
::com::sun::star::uno::makeAny< VALUE_TYPE >
makeAny
);
return aWrappedValues;
}
......
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