summaryrefslogtreecommitdiff
path: root/padmin
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /padmin
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'padmin')
-rw-r--r--padmin/source/desktopcontext.cxx2
-rw-r--r--padmin/source/desktopcontext.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/padmin/source/desktopcontext.cxx b/padmin/source/desktopcontext.cxx
index 6a3878a932c0..fe5875968293 100644
--- a/padmin/source/desktopcontext.cxx
+++ b/padmin/source/desktopcontext.cxx
@@ -32,7 +32,7 @@ DesktopContext::DesktopContext( const Reference< XCurrentContext > & ctx )
{
}
-Any SAL_CALL DesktopContext::getValueByName( const OUString& Name) throw (RuntimeException)
+Any SAL_CALL DesktopContext::getValueByName( const OUString& Name) throw (RuntimeException, std::exception)
{
Any retVal;
diff --git a/padmin/source/desktopcontext.hxx b/padmin/source/desktopcontext.hxx
index 2eb2dc796213..cf46700841c6 100644
--- a/padmin/source/desktopcontext.hxx
+++ b/padmin/source/desktopcontext.hxx
@@ -34,7 +34,7 @@ namespace padmin
// XCurrentContext
virtual com::sun::star::uno::Any SAL_CALL getValueByName( const OUString& Name )
- throw (com::sun::star::uno::RuntimeException);
+ throw (com::sun::star::uno::RuntimeException, std::exception);
private:
com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext > m_xNextContext;