summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/xmlsec/serialnumberadapter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity/source/xmlsec/serialnumberadapter.cxx')
-rw-r--r--xmlsecurity/source/xmlsec/serialnumberadapter.cxx17
1 files changed, 5 insertions, 12 deletions
diff --git a/xmlsecurity/source/xmlsec/serialnumberadapter.cxx b/xmlsecurity/source/xmlsec/serialnumberadapter.cxx
index 0917f2717a4d..2377654b086d 100644
--- a/xmlsecurity/source/xmlsec/serialnumberadapter.cxx
+++ b/xmlsecurity/source/xmlsec/serialnumberadapter.cxx
@@ -49,26 +49,21 @@ public:
private:
virtual ~Service() override {}
- virtual OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getImplementationName() override
{ return xml_security::serial_number_adapter::implementationName(); }
- virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL supportsService(OUString const & ServiceName) override
{ return cppu::supportsService(this, ServiceName); }
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
{ return xml_security::serial_number_adapter::serviceNames(); }
virtual OUString SAL_CALL toString(
- css::uno::Sequence< sal_Int8 > const & SerialNumber)
- throw (css::uno::RuntimeException, std::exception) override
+ css::uno::Sequence< sal_Int8 > const & SerialNumber) override
{ return bigIntegerToNumericString(SerialNumber); }
virtual css::uno::Sequence< sal_Int8 > SAL_CALL toSequence(
- OUString const & SerialNumber)
- throw (css::uno::RuntimeException, std::exception) override
+ OUString const & SerialNumber) override
{ return numericStringToBigInteger(SerialNumber); }
};
@@ -82,14 +77,12 @@ xml_security::serial_number_adapter::create(
}
OUString xml_security::serial_number_adapter::implementationName()
- throw (css::uno::RuntimeException)
{
return OUString("com.sun.star.comp.security.SerialNumberAdapter");
}
css::uno::Sequence< OUString >
xml_security::serial_number_adapter::serviceNames()
- throw (css::uno::RuntimeException)
{
css::uno::Sequence< OUString > s { "com.sun.star.security.SerialNumberAdapter" };
return s;