diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-21 12:18:36 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:46 +0200 |
commit | abcbe967f2d46cc6d222dda06f6b1e734b2c9e08 (patch) | |
tree | 2c4f6dc419b147c97d0f8f6b4803532ac84f9253 /unoxml/source/rdf | |
parent | bc58eac34175253d6520be17ca962c77b3a1aef6 (diff) |
unoxml: huge namespacing cleanup
Change-Id: I2170e8fd9ef5ca0556545cb3f656a0e1ba49f43b
Diffstat (limited to 'unoxml/source/rdf')
-rw-r--r-- | unoxml/source/rdf/CBlankNode.cxx | 14 | ||||
-rw-r--r-- | unoxml/source/rdf/CLiteral.cxx | 18 | ||||
-rw-r--r-- | unoxml/source/rdf/CURI.cxx | 18 | ||||
-rw-r--r-- | unoxml/source/rdf/librdf_repository.cxx | 46 |
4 files changed, 48 insertions, 48 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index 2c16ee4fcd02..68addbf1dc29 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -43,15 +43,15 @@ public: explicit CBlankNode(css::uno::Reference< css::uno::XComponentContext > const & context); virtual ~CBlankNode() {} - // ::com::sun::star::lang::XServiceInfo: + // css::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::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, std::exception) SAL_OVERRIDE; + // css::lang::XInitialization: + virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XNode: + // css::rdf::XNode: virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: @@ -80,8 +80,8 @@ css::uno::Sequence< OUString > SAL_CALL CBlankNode::getSupportedServiceNames() t return comp_CBlankNode::_getSupportedServiceNames(); } -// ::com::sun::star::lang::XInitialization: -void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) +// css::lang::XInitialization: +void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) { if (aArguments.getLength() != 1) { throw css::lang::IllegalArgumentException( @@ -106,7 +106,7 @@ void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star: } } -// ::com::sun::star::rdf::XNode: +// css::rdf::XNode: OUString SAL_CALL CBlankNode::getStringValue() throw (css::uno::RuntimeException, std::exception) { return m_NodeID; diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 5fd0befed7cd..3cc332886ac3 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -45,18 +45,18 @@ public: explicit CLiteral(css::uno::Reference< css::uno::XComponentContext > const & context); virtual ~CLiteral() {} - // ::com::sun::star::lang::XServiceInfo: + // css::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::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, std::exception) SAL_OVERRIDE; + // css::lang::XInitialization: + virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XNode: + // css::rdf::XNode: virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XLiteral: + // css::rdf::XLiteral: virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -89,8 +89,8 @@ css::uno::Sequence< OUString > SAL_CALL CLiteral::getSupportedServiceNames() thr 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, std::exception) +// css::lang::XInitialization: +void SAL_CALL CLiteral::initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) { const sal_Int32 len( aArguments.getLength() ); if (len < 1 || len > 2) { @@ -141,7 +141,7 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::u } } -// ::com::sun::star::rdf::XNode: +// css::rdf::XNode: OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException, std::exception) { if (!m_Language.isEmpty()) { @@ -159,7 +159,7 @@ OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException, } } -// ::com::sun::star::rdf::XLiteral: +// css::rdf::XLiteral: OUString SAL_CALL CLiteral::getValue() throw (css::uno::RuntimeException, std::exception) { return m_Value; diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 228af1c63f13..1e688c349d80 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -44,18 +44,18 @@ public: explicit CURI(css::uno::Reference< css::uno::XComponentContext > const & context); virtual ~CURI() {} - // ::com::sun::star::lang::XServiceInfo: + // css::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::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, std::exception) SAL_OVERRIDE; + // css::lang::XInitialization: + virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XNode: + // css::rdf::XNode: virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XURI: + // css::rdf::XURI: virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -710,8 +710,8 @@ void SAL_CALL CURI::initFromConstant(const sal_Int16 i_Constant) return; } -// ::com::sun::star::lang::XInitialization: -void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) +// css::lang::XInitialization: +void SAL_CALL CURI::initialize(const css::uno::Sequence< css::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) { sal_Int32 len = aArguments.getLength(); if ((len < 1) || (len > 2)) { @@ -784,13 +784,13 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno:: } } -// ::com::sun::star::rdf::XNode: +// css::rdf::XNode: OUString SAL_CALL CURI::getStringValue() throw (css::uno::RuntimeException, std::exception) { return m_Namespace + m_LocalName; } -// ::com::sun::star::rdf::XURI: +// css::rdf::XURI: OUString SAL_CALL CURI::getNamespace() throw (css::uno::RuntimeException, std::exception) { return m_Namespace; diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 473c0b34ac3a..52fc79cd82f2 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -284,7 +284,7 @@ public: uno::Reference< uno::XComponentContext > const & i_xContext); virtual ~librdf_Repository(); - // ::com::sun::star::lang::XServiceInfo: + // css::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService( @@ -292,7 +292,7 @@ public: virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XRepository: + // css::rdf::XRepository: virtual uno::Reference< rdf::XBlankNode > SAL_CALL createBlankNode() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Reference<rdf::XNamedGraph> SAL_CALL importGraph( @@ -344,7 +344,7 @@ public: throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XDocumentRepository: + // css::rdf::XDocumentRepository: virtual void SAL_CALL setStatementRDFa( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Sequence< uno::Reference< rdf::XURI > > & i_rPredicates, @@ -369,9 +369,9 @@ public: throw (uno::RuntimeException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::lang::XInitialization: + // css::lang::XInitialization: virtual void SAL_CALL initialize( - const uno::Sequence< ::com::sun::star::uno::Any > & i_rArguments) + const uno::Sequence< css::uno::Any > & i_rArguments) throw (uno::RuntimeException, uno::Exception, std::exception) SAL_OVERRIDE; // XNamedGraph forwards --------------------------------------------- @@ -483,7 +483,7 @@ public: const_cast<boost::shared_ptr<librdf_query>& >(m_pQuery).reset(); } - // ::com::sun::star::container::XEnumeration: + // css::container::XEnumeration: virtual sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Any SAL_CALL nextElement() @@ -508,7 +508,7 @@ private: }; -// ::com::sun::star::container::XEnumeration: +// css::container::XEnumeration: sal_Bool SAL_CALL librdf_GraphResult::hasMoreElements() throw (uno::RuntimeException, std::exception) { @@ -531,7 +531,7 @@ librdf_node* librdf_GraphResult::getContext_Lock() const return m_pContext.get(); } -::com::sun::star::uno::Any SAL_CALL +css::uno::Any SAL_CALL librdf_GraphResult::nextElement() throw (uno::RuntimeException, container::NoSuchElementException, lang::WrappedTargetException, std::exception) @@ -596,14 +596,14 @@ public: const_cast<boost::shared_ptr<librdf_query>& >(m_pQuery).reset(); } - // ::com::sun::star::container::XEnumeration: + // css::container::XEnumeration: virtual sal_Bool SAL_CALL hasMoreElements() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Any SAL_CALL nextElement() throw (uno::RuntimeException, container::NoSuchElementException, lang::WrappedTargetException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XQuerySelectResult: + // css::rdf::XQuerySelectResult: virtual uno::Sequence< OUString > SAL_CALL getBindingNames() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; @@ -623,7 +623,7 @@ private: }; -// ::com::sun::star::container::XEnumeration: +// css::container::XEnumeration: sal_Bool SAL_CALL librdf_QuerySelectResult::hasMoreElements() throw (uno::RuntimeException, std::exception) { @@ -645,7 +645,7 @@ public: } }; -::com::sun::star::uno::Any SAL_CALL +css::uno::Any SAL_CALL librdf_QuerySelectResult::nextElement() throw (uno::RuntimeException, container::NoSuchElementException, lang::WrappedTargetException, std::exception) @@ -682,7 +682,7 @@ throw (uno::RuntimeException, container::NoSuchElementException, } } -// ::com::sun::star::rdf::XQuerySelectResult: +// css::rdf::XQuerySelectResult: uno::Sequence< OUString > SAL_CALL librdf_QuerySelectResult::getBindingNames() throw (uno::RuntimeException, std::exception) { @@ -710,17 +710,17 @@ public: virtual ~librdf_NamedGraph() {} - // ::com::sun::star::rdf::XNode: + // css::rdf::XNode: virtual OUString SAL_CALL getStringValue() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XURI: + // css::rdf::XURI: virtual OUString SAL_CALL getNamespace() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLocalName() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; - // ::com::sun::star::rdf::XNamedGraph: + // css::rdf::XNamedGraph: virtual uno::Reference<rdf::XURI> SAL_CALL getName() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL clear() @@ -754,14 +754,14 @@ private: }; -// ::com::sun::star::rdf::XNode: +// css::rdf::XNode: OUString SAL_CALL librdf_NamedGraph::getStringValue() throw (uno::RuntimeException, std::exception) { return m_xName->getStringValue(); } -// ::com::sun::star::rdf::XURI: +// css::rdf::XURI: OUString SAL_CALL librdf_NamedGraph::getNamespace() throw (uno::RuntimeException, std::exception) { @@ -774,7 +774,7 @@ throw (uno::RuntimeException, std::exception) return m_xName->getLocalName(); } -// ::com::sun::star::rdf::XNamedGraph: +// css::rdf::XNamedGraph: uno::Reference< rdf::XURI > SAL_CALL librdf_NamedGraph::getName() throw (uno::RuntimeException, std::exception) { @@ -909,7 +909,7 @@ librdf_Repository::getSupportedServiceNames() throw (uno::RuntimeException, std: return comp_librdf_Repository::_getSupportedServiceNames(); } -// ::com::sun::star::rdf::XRepository: +// css::rdf::XRepository: uno::Reference< rdf::XBlankNode > SAL_CALL librdf_Repository::createBlankNode() throw (uno::RuntimeException, std::exception) { @@ -1494,7 +1494,7 @@ throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std ? sal_True : sal_False; } -// ::com::sun::star::rdf::XDocumentRepository: +// css::rdf::XDocumentRepository: void SAL_CALL librdf_Repository::setStatementRDFa( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Sequence< uno::Reference< rdf::XURI > > & i_rPredicates, @@ -1747,9 +1747,9 @@ throw (uno::RuntimeException, rdf::RepositoryException, std::exception) ::boost::shared_ptr<librdf_node>()); } -// ::com::sun::star::lang::XInitialization: +// css::lang::XInitialization: void SAL_CALL librdf_Repository::initialize( - const uno::Sequence< ::com::sun::star::uno::Any > & i_rArguments) + const uno::Sequence< css::uno::Any > & i_rArguments) throw (uno::RuntimeException, uno::Exception, std::exception) { (void) i_rArguments; |