Kaydet (Commit) b9155a66 authored tarafından Michael Meeks's avatar Michael Meeks

fdo#65882 - fix intermittent writer unit test failure on exit.

Change-Id: Iffa4ea724f2192f85df66eaf4e9e4f30e6ba3d4b
üst 445ebce3
...@@ -368,6 +368,8 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper() ...@@ -368,6 +368,8 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper()
} }
// set redline mode & key // set redline mode & key
try
{
Any aAny; Any aAny;
aAny.setValue( &bShowChanges, ::getBooleanCppuType() ); aAny.setValue( &bShowChanges, ::getBooleanCppuType() );
...@@ -387,6 +389,11 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper() ...@@ -387,6 +389,11 @@ XMLRedlineImportHelper::~XMLRedlineImportHelper()
xModelPropertySet->setPropertyValue( sRedlineProtectionKey, aAny ); xModelPropertySet->setPropertyValue( sRedlineProtectionKey, aAny );
else else
xImportInfoPropertySet->setPropertyValue( sRedlineProtectionKey, aAny); xImportInfoPropertySet->setPropertyValue( sRedlineProtectionKey, aAny);
}
catch (const uno::RuntimeException &) // fdo#65882
{
SAL_WARN( "sw", "potentially benign ordering issue during shutdown" );
}
} }
void XMLRedlineImportHelper::Add( void XMLRedlineImportHelper::Add(
......
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