Kaydet (Commit) 1a078f35 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i123198# catch and ignore uno exceptions in sfx2::sidebar::TabBar::Item::HandleClick()

Patch by: Herbert Duerr
Scenario found by: Thorsten Wagner
üst 9bab8d99
...@@ -309,7 +309,12 @@ Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const ...@@ -309,7 +309,12 @@ Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const
IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG) IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG)
{ {
maDeckActivationFunctor(msDeckId); try
{
maDeckActivationFunctor(msDeckId);
}
catch( const ::com::sun::star::uno::Exception&) {} // workaround for #i123198#
return 1; return 1;
} }
......
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