summaryrefslogtreecommitdiffstats
path: root/unoxml/source/rdf/CLiteral.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/rdf/CLiteral.cxx')
-rw-r--r--unoxml/source/rdf/CLiteral.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index e19d4cfaab42..1768536fff22 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -44,20 +44,20 @@ public:
virtual ~CLiteral() {}
// ::com::sun::star::lang::XServiceInfo:
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::lang::XInitialization:
- virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception);
+ virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception);
// ::com::sun::star::rdf::XNode:
- virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XLiteral:
- virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException);
- virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException);
- virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception);
private:
CLiteral(const CLiteral &); // not defined
@@ -75,23 +75,23 @@ CLiteral::CLiteral(css::uno::Reference< css::uno::XComponentContext > const & co
{}
// com.sun.star.uno.XServiceInfo:
-OUString SAL_CALL CLiteral::getImplementationName() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return comp_CLiteral::_getImplementationName();
}
-::sal_Bool SAL_CALL CLiteral::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException)
+::sal_Bool SAL_CALL CLiteral::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
-css::uno::Sequence< OUString > SAL_CALL CLiteral::getSupportedServiceNames() throw (css::uno::RuntimeException)
+css::uno::Sequence< OUString > SAL_CALL CLiteral::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
return comp_CLiteral::_getSupportedServiceNames();
}
// ::com::sun::star::lang::XInitialization:
-void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception)
+void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception)
{
const sal_Int32 len( aArguments.getLength() );
if (len < 1 || len > 2) {
@@ -143,7 +143,7 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::u
}
// ::com::sun::star::rdf::XNode:
-OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException, std::exception)
{
if (!m_Language.isEmpty()) {
OUStringBuffer buf(m_Value);
@@ -161,17 +161,17 @@ OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException)
}
// ::com::sun::star::rdf::XLiteral:
-OUString SAL_CALL CLiteral::getValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getValue() throw (css::uno::RuntimeException, std::exception)
{
return m_Value;
}
-OUString SAL_CALL CLiteral::getLanguage() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getLanguage() throw (css::uno::RuntimeException, std::exception)
{
return m_Language;
}
-css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype() throw (css::uno::RuntimeException)
+css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype() throw (css::uno::RuntimeException, std::exception)
{
return m_xDatatype;
}