summaryrefslogtreecommitdiff
path: root/filter/source/xsltfilter/XSLTFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/xsltfilter/XSLTFilter.cxx')
-rw-r--r--filter/source/xsltfilter/XSLTFilter.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx
index c1fd601ac935..e272ecdab4bc 100644
--- a/filter/source/xsltfilter/XSLTFilter.cxx
+++ b/filter/source/xsltfilter/XSLTFilter.cxx
@@ -203,7 +203,7 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False)
if (nPos != -1)
sExpandedUrl = sExpandedUrl.copy(nPos + 20);
}
- catch (Exception&)
+ catch (const Exception&)
{
}
return sExpandedUrl;
@@ -401,9 +401,9 @@ m_rServiceFactory(r), m_bTerminated(sal_False), m_bError(sal_False)
return !m_bError;
}
#if OSL_DEBUG_LEVEL > 0
- catch( Exception& exc)
+ catch( const Exception& exc)
#else
- catch (Exception&)
+ catch (const Exception&)
#endif
{
// something went wrong