diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 2c5766e..57bca7e 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -1840,6 +1840,7 @@ void SwUnoCursorHelper::SetPropertyValues( aPropertyVetoExMsg += "Property is read-only: '" + rPropertyName + "' "; continue; } +SAL_WARN("JCL","::SetPropertyValues1["<nWID<<"]["<nWID, pEntry->nWID); aEntries.emplace_back(pEntry, rPropVal.Value); } @@ -1863,6 +1864,7 @@ void SwUnoCursorHelper::SetPropertyValues( } const uno::Any &rValue = aEntries[i].second; +SAL_WARN("JCL","::SetPropertyValues2["<nWID<<"]["<getPropertyMap(); + const beans::PropertyValue* pValues = rProperties.getConstArray(); + + for (sal_Int32 nProp = 0; nProp < rProperties.getLength(); ++nProp) + { + if (!rParagraphMap.getByName(pValues[nProp].Name)) + { +SAL_WARN("JCL","!!!!!!!!!!!!!!!!!!!!!!!!! This is never true - so not a problem with this document !!!!!!!!!"); + bIllegalException = true; + break; + } + try + { + uno::Sequence< beans::PropertyValue > aValues( 1 ); + aValues[0] = pValues[nProp]; + + //SwUnoCursorHelper::SetPropertyValue(aPam, *pParaPropSet, pValues[nProp].Name, pValues[nProp].Value); +//SAL_WARN("JCL","["<GetIDocumentUndoRedo().EndUndo(SwUndoId::END, nullptr); if (bIllegalException || bRuntimeException)