Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > cd8ce32c919af60229fca1d7f792c60e > files > 54

openoffice.org-3.2.0-12.35.fc13.src.rpm

diff -ru dbaccess.orig/source/ui/control/tabletree.cxx dbaccess/source/ui/control/tabletree.cxx
--- dbaccess.orig/source/ui/control/tabletree.cxx	2010-03-03 10:40:43.000000000 +0000
+++ dbaccess/source/ui/control/tabletree.cxx	2010-03-03 11:04:58.000000000 +0000
@@ -641,6 +641,9 @@
 {
     OSL_PRECOND( !isFolderEntry( _pEntry ), "OTableTreeListBox::getQualifiedTableName: folder entries not allowed here!" );
 
+  try
+  {
+
     Reference< XDatabaseMetaData > xMeta;
     if ( !impl_getAndAssertMetaData( xMeta ) )
         return String();
@@ -672,6 +675,12 @@
 	sTable = GetEntryText( _pEntry );
 
 	return ::dbtools::composeTableName( xMeta, sCatalog, sSchema, sTable, sal_False, ::dbtools::eInDataManipulation );
+  }
+  catch( const Exception& )
+  {
+    DBG_UNHANDLED_EXCEPTION();
+  }
+  return String();
 }
 
 //------------------------------------------------------------------------