diff options
Diffstat (limited to 'xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx')
-rw-r--r-- | xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx index 03f866e05749..6d465502be89 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.cxx @@ -31,7 +31,7 @@ using ::com::sun::star::xml::crypto::XXMLSignatureTemplate ; XMLSignatureTemplateImpl::XMLSignatureTemplateImpl() :m_xTemplate( nullptr ), - m_nStatus ( ::com::sun::star::xml::crypto::SecurityOperationStatus_UNKNOWN ) + m_nStatus ( css::xml::crypto::SecurityOperationStatus_UNKNOWN ) { } @@ -40,31 +40,29 @@ XMLSignatureTemplateImpl::~XMLSignatureTemplateImpl() { /* XXMLSignatureTemplate */ void SAL_CALL XMLSignatureTemplateImpl::setTemplate( const Reference< XXMLElementWrapper >& aTemplate ) - throw( com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException, std::exception) + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception) { m_xTemplate = aTemplate ; } /* XXMLSignatureTemplate */ Reference< XXMLElementWrapper > SAL_CALL XMLSignatureTemplateImpl::getTemplate() - throw (com::sun::star::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) { return m_xTemplate ; } -void SAL_CALL XMLSignatureTemplateImpl::setTarget( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::wrapper::XXMLElementWrapper >& aXmlElement ) - throw( com::sun::star::uno::RuntimeException, com::sun::star::lang::IllegalArgumentException, std::exception) +void SAL_CALL XMLSignatureTemplateImpl::setTarget( const css::uno::Reference< css::xml::wrapper::XXMLElementWrapper >& aXmlElement ) + throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception) { targets.push_back( aXmlElement ); } -::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::xml::wrapper::XXMLElementWrapper > > SAL_CALL XMLSignatureTemplateImpl::getTargets() - throw (com::sun::star::uno::RuntimeException, std::exception) +css::uno::Sequence< css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > > SAL_CALL XMLSignatureTemplateImpl::getTargets() + throw (css::uno::RuntimeException, std::exception) { sal_Int32 length = targets.size(); - ::com::sun::star::uno::Sequence< - ::com::sun::star::uno::Reference< ::com::sun::star::xml::wrapper::XXMLElementWrapper > - > aTargets (length); + css::uno::Sequence< css::uno::Reference< css::xml::wrapper::XXMLElementWrapper > > aTargets (length); sal_Int32 i; @@ -77,28 +75,27 @@ void SAL_CALL XMLSignatureTemplateImpl::setTarget( const ::com::sun::star::uno:: } void SAL_CALL XMLSignatureTemplateImpl::setBinding( - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::crypto::XUriBinding >& aUriBinding ) - throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) + const css::uno::Reference< css::xml::crypto::XUriBinding >& aUriBinding ) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { m_xUriBinding = aUriBinding; } -::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XUriBinding > SAL_CALL XMLSignatureTemplateImpl::getBinding() - throw (::com::sun::star::uno::RuntimeException, std::exception) +css::uno::Reference< css::xml::crypto::XUriBinding > SAL_CALL XMLSignatureTemplateImpl::getBinding() + throw (css::uno::RuntimeException, std::exception) { return m_xUriBinding; } void SAL_CALL XMLSignatureTemplateImpl::setStatus( - ::com::sun::star::xml::crypto::SecurityOperationStatus status ) - throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) + css::xml::crypto::SecurityOperationStatus status ) + throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) { m_nStatus = status; } -::com::sun::star::xml::crypto::SecurityOperationStatus SAL_CALL XMLSignatureTemplateImpl::getStatus( ) - throw (::com::sun::star::uno::RuntimeException, std::exception) +css::xml::crypto::SecurityOperationStatus SAL_CALL XMLSignatureTemplateImpl::getStatus( ) + throw (css::uno::RuntimeException, std::exception) { return m_nStatus; } |