Kaydet (Commit) 0f9f3613 authored tarafından Caolán McNamara's avatar Caolán McNamara

have expert config dialog survive exceptions

Change-Id: I78a8cd4fff8fb134679d2223a379b6eb799d6f05
üst af433f40
......@@ -216,8 +216,20 @@ void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAcces
{
Any aNode = xNameAccess->getByName( seqItems[i] );
Reference< XNameAccess > xNextNameAccess( aNode, uno::UNO_QUERY );
if( xNextNameAccess.is() )
bool bNotLeaf = false;
Reference< XNameAccess > xNextNameAccess;
try
{
xNextNameAccess = Reference< XNameAccess >(aNode, uno::UNO_QUERY);
bNotLeaf = xNextNameAccess.is();
}
catch (const RuntimeException& e)
{
SAL_WARN( "cui.options", "CuiAboutConfigTabPage: exception " << e.Message);
}
if (bNotLeaf)
{
// not leaf node
FillItems( xNextNameAccess );
......
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