summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sfx2/docfilt.hxx3
-rw-r--r--sfx2/source/doc/docfilt.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index 976ffd6aee2d..3eef56a4a439 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -116,7 +116,8 @@ public:
bool bTemplate = false, OUString* pName = NULL )
throw ( com::sun::star::beans::UnknownPropertyException,
com::sun::star::lang::WrappedTargetException,
- com::sun::star::uno::RuntimeException );
+ com::sun::star::uno::RuntimeException,
+ std::exception );
};
#endif
diff --git a/sfx2/source/doc/docfilt.cxx b/sfx2/source/doc/docfilt.cxx
index 7defffe6a757..bbb278d0e8da 100644
--- a/sfx2/source/doc/docfilt.cxx
+++ b/sfx2/source/doc/docfilt.cxx
@@ -180,7 +180,8 @@ OUString SfxFilter::GetTypeFromStorage( const SotStorage& rStg )
OUString SfxFilter::GetTypeFromStorage(
const uno::Reference<embed::XStorage>& xStorage, bool bTemplate, OUString* pFilterName )
- throw ( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException )
+ throw ( beans::UnknownPropertyException, lang::WrappedTargetException,
+ uno::RuntimeException, std::exception )
{
SfxFilterMatcher aMatcher;
OUString aName;