summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-09-11 09:02:57 +0000
committerHerbert Dürr <hdu@apache.org>2013-09-11 09:02:57 +0000
commit1a078f3584e8a288c0ec33f176638406423ade63 (patch)
treeeab463061af647658daacbf3ca85b7474f023a76 /sfx2
parent9bab8d99eab92b6ea0e171ac18d45e2283b86e19 (diff)
#i123198# catch and ignore uno exceptions in sfx2::sidebar::TabBar::Item::HandleClick()
Patch by: Herbert Duerr Scenario found by: Thorsten Wagner
Notes
Notes: merged as: fe2a249257a9fb4a994514bce5f49268f7bfd770
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/TabBar.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 184e13f7079e..5e1a2c57732c 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -309,7 +309,12 @@ Image TabBar::GetItemImage (const DeckDescriptor& rDeckDescriptor) const
IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG)
{
- maDeckActivationFunctor(msDeckId);
+ try
+ {
+ maDeckActivationFunctor(msDeckId);
+ }
+ catch( const ::com::sun::star::uno::Exception&) {} // workaround for #i123198#
+
return 1;
}