Kaydet (Commit) 93d3ef81 authored tarafından Justin Luth's avatar Justin Luth

writerfilter: avoid exception - IsProtect not page style property.

Change-Id: I3e91bc82e5857116f5d94103a7c22ce333e4f89b
Reviewed-on: https://gerrit.libreoffice.org/65976
Tested-by: Jenkins
Reviewed-by: 's avatarJustin Luth <justin_luth@sil.org>
üst 13ed75dd
......@@ -1730,7 +1730,9 @@ void SectionPropertyMap::ApplyProperties_( const uno::Reference< beans::XPropert
for ( beans::PropertyValue* pIter = vPropVals.begin(); pIter != vPropVals.end(); ++pIter )
{
if ( pIter != pCharGrabBag && pIter != pParaGrabBag )
if ( pIter != pCharGrabBag && pIter != pParaGrabBag
&& pIter->Name != "IsProtected" //section-only property
)
{
vNames.push_back( pIter->Name );
vValues.push_back( pIter->Value );
......
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