diff options
Diffstat (limited to 'oox/source/ole/vbaproject.cxx')
-rw-r--r-- | oox/source/ole/vbaproject.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/oox/source/ole/vbaproject.cxx b/oox/source/ole/vbaproject.cxx index c868d83b6f72..001d97bc7513 100644 --- a/oox/source/ole/vbaproject.cxx +++ b/oox/source/ole/vbaproject.cxx @@ -36,6 +36,7 @@ #include <osl/diagnose.h> #include <rtl/tencinfo.h> #include <sal/log.hxx> +#include <tools/diagnose_ex.h> #include <oox/helper/binaryinputstream.hxx> #include <oox/helper/propertyset.hxx> #include <oox/helper/textinputstream.hxx> @@ -90,6 +91,7 @@ VbaFilterConfig::VbaFilterConfig( const Reference< XComponentContext >& rxContex } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } OSL_ENSURE( mxConfigAccess.is(), "VbaFilterConfig::VbaFilterConfig - cannot open configuration" ); } @@ -131,6 +133,7 @@ void VbaMacroAttacherBase::resolveAndAttachMacro( const Reference< XVBAMacroReso } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } } @@ -233,6 +236,7 @@ Reference< XNameContainer > VbaProject::openLibrary( sal_Int32 nPropId ) } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } OSL_ENSURE( xLibrary.is(), "VbaProject::openLibrary - cannot create library" ); return xLibrary; @@ -421,6 +425,7 @@ void VbaProject::readVbaModules( StorageBase& rVbaPrjStrg ) } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } } @@ -510,6 +515,7 @@ void VbaProject::importModulesAndForms( StorageBase& rVbaPrjStrg, const GraphicH } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } } } @@ -533,6 +539,7 @@ void VbaProject::attachMacros() } catch(const Exception& ) { + TOOLS_WARN_EXCEPTION("oox", ""); } } |