Author: hdu
Date: Wed Sep 11 09:02:57 2013
New Revision: 1521765

URL: http://svn.apache.org/r1521765
Log:
#i123198# catch and ignore uno exceptions in 
sfx2::sidebar::TabBar::Item::HandleClick()

Patch by: Herbert Duerr
Scenario found by: Thorsten Wagner

Modified:
    openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx

Modified: openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx?rev=1521765&r1=1521764&r2=1521765&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx (original)
+++ openoffice/trunk/main/sfx2/source/sidebar/TabBar.cxx Wed Sep 11 09:02:57 
2013
@@ -309,7 +309,12 @@ Image TabBar::GetItemImage (const DeckDe
 
 IMPL_LINK(TabBar::Item, HandleClick, Button*, EMPTYARG)
 {
-    maDeckActivationFunctor(msDeckId);
+    try
+    {
+        maDeckActivationFunctor(msDeckId);
+    }
+    catch( const ::com::sun::star::uno::Exception&) {} // workaround for 
#i123198#
+
     return 1;
 }
 


Reply via email to