diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-26 08:43:00 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-26 10:47:02 +0000 |
commit | 80735fcbb0503ff1de198d1d9936fed9f5ae77a2 (patch) | |
tree | 7c126266aecb7561f46897bd9c997c085a3a96df /xmloff/source/core | |
parent | 4112ecadd53f7ae48e007dd5024f077aca305062 (diff) |
com::sun::star->css in xmloff/
Change-Id: Iee6e21e093fb1383f19a0716dbc1c341f446b8c2
Reviewed-on: https://gerrit.libreoffice.org/20192
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/DocumentSettingsContext.cxx | 83 | ||||
-rw-r--r-- | xmloff/source/core/ProgressBarHelper.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/XMLEmbeddedObjectImportContext.cxx | 10 | ||||
-rw-r--r-- | xmloff/source/core/attrlist.cxx | 20 | ||||
-rw-r--r-- | xmloff/source/core/unoatrcn.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 24 | ||||
-rw-r--r-- | xmloff/source/core/xmlictxt.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 17 | ||||
-rw-r--r-- | xmloff/source/core/xmluconv.cxx | 12 |
10 files changed, 79 insertions, 99 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index ead1ffdbd319..4cce86b80ba6 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -54,7 +54,7 @@ class XMLMyList std::list<beans::PropertyValue> aProps; sal_uInt32 nCount; - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; + css::uno::Reference< css::uno::XComponentContext > m_xContext; public: explicit XMLMyList(const uno::Reference<uno::XComponentContext>& rxContext); @@ -124,11 +124,11 @@ class XMLConfigBaseContext : public SvXMLImportContext protected: XMLMyList maProps; beans::PropertyValue maProp; - com::sun::star::uno::Any& mrAny; + css::uno::Any& mrAny; XMLConfigBaseContext* mpBaseContext; public: XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - com::sun::star::uno::Any& rAny, + css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); virtual ~XMLConfigBaseContext(); @@ -140,23 +140,21 @@ class XMLConfigItemContext : public SvXMLImportContext OUString msType; OUString msValue; uno::Sequence<sal_Int8> maDecoded; - com::sun::star::uno::Any& mrAny; + css::uno::Any& mrAny; const OUString mrItemName; - XMLConfigBaseContext* mpBaseContext; + XMLConfigBaseContext* mpBaseContext; public: XMLConfigItemContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, + css::uno::Any& rAny, const OUString& rItemName, XMLConfigBaseContext* pBaseContext); virtual ~XMLConfigItemContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) override; + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual void Characters( const OUString& rChars ) override; virtual void EndElement() override; @@ -168,16 +166,14 @@ class XMLConfigItemSetContext : public XMLConfigBaseContext { public: XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, + css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); virtual ~XMLConfigItemSetContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) override; + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual void EndElement() override; }; @@ -186,16 +182,14 @@ class XMLConfigItemMapNamedContext : public XMLConfigBaseContext { public: XMLConfigItemMapNamedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, + css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext); virtual ~XMLConfigItemMapNamedContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) override; + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual void EndElement() override; }; @@ -208,17 +202,15 @@ private: public: XMLConfigItemMapIndexedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, + css::uno::Any& rAny, const OUString& rConfigItemName, XMLConfigBaseContext* pBaseContext); virtual ~XMLConfigItemMapIndexedContext(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) override; + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) override; virtual void EndElement() override; }; @@ -283,8 +275,8 @@ namespace struct XMLDocumentSettingsContext_Data { - com::sun::star::uno::Any aViewProps; - com::sun::star::uno::Any aConfigProps; + css::uno::Any aViewProps; + css::uno::Any aConfigProps; ::std::list< SettingsGroup > aDocSpecificSettings; }; @@ -302,8 +294,7 @@ XMLDocumentSettingsContext::~XMLDocumentSettingsContext() SvXMLImportContext *XMLDocumentSettingsContext::CreateChildContext( sal_uInt16 p_nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) { SvXMLImportContext *pContext = nullptr; OUString sName; @@ -434,7 +425,7 @@ void XMLDocumentSettingsContext::EndElement() } XMLConfigBaseContext::XMLConfigBaseContext(SvXMLImport& rImport, sal_uInt16 nPrfx, - const OUString& rLName, com::sun::star::uno::Any& rTempAny, + const OUString& rLName, css::uno::Any& rTempAny, XMLConfigBaseContext* pTempBaseContext) : SvXMLImportContext( rImport, nPrfx, rLName ), maProps( rImport.GetComponentContext() ), @@ -450,9 +441,8 @@ XMLConfigBaseContext::~XMLConfigBaseContext() XMLConfigItemSetContext::XMLConfigItemSetContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>&, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>&, + css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext) : XMLConfigBaseContext( rImport, nPrfx, rLName, rAny, pBaseContext ) { @@ -465,8 +455,7 @@ XMLConfigItemSetContext::~XMLConfigItemSetContext() SvXMLImportContext *XMLConfigItemSetContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) { return CreateSettingsContext(GetImport(), nPrefix, rLocalName, xAttrList, maProp, this); } @@ -479,9 +468,8 @@ void XMLConfigItemSetContext::EndElement() } XMLConfigItemContext::XMLConfigItemContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList, - com::sun::star::uno::Any& rTempAny, + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList, + css::uno::Any& rTempAny, const OUString& rTempItemName, XMLConfigBaseContext* pTempBaseContext) : SvXMLImportContext(rImport, nPrfx, rLName), @@ -512,8 +500,7 @@ XMLConfigItemContext::~XMLConfigItemContext() SvXMLImportContext *XMLConfigItemContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& ) + const css::uno::Reference< css::xml::sax::XAttributeList>& ) { SvXMLImportContext* pContext = new SvXMLImportContext(GetImport(), nPrefix, rLocalName); return pContext; @@ -667,9 +654,8 @@ void XMLConfigItemContext::ManipulateConfigItem() } XMLConfigItemMapNamedContext::XMLConfigItemMapNamedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>&, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>&, + css::uno::Any& rAny, XMLConfigBaseContext* pBaseContext) : XMLConfigBaseContext(rImport, nPrfx, rLName, rAny, pBaseContext) { @@ -681,8 +667,7 @@ XMLConfigItemMapNamedContext::~XMLConfigItemMapNamedContext() SvXMLImportContext *XMLConfigItemMapNamedContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) { return CreateSettingsContext(GetImport(), nPrefix, rLocalName, xAttrList, maProp, this); } @@ -701,9 +686,8 @@ void XMLConfigItemMapNamedContext::EndElement() XMLConfigItemMapIndexedContext::XMLConfigItemMapIndexedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>&, - com::sun::star::uno::Any& rAny, + const css::uno::Reference< css::xml::sax::XAttributeList>&, + css::uno::Any& rAny, const OUString& rConfigItemName, XMLConfigBaseContext* pBaseContext) : XMLConfigBaseContext(rImport, nPrfx, rLName, rAny, pBaseContext), @@ -717,8 +701,7 @@ XMLConfigItemMapIndexedContext::~XMLConfigItemMapIndexedContext() SvXMLImportContext *XMLConfigItemMapIndexedContext::CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XAttributeList>& xAttrList ) + const css::uno::Reference< css::xml::sax::XAttributeList>& xAttrList ) { return CreateSettingsContext(GetImport(), nPrefix, rLocalName, xAttrList, maProp, this); } diff --git a/xmloff/source/core/ProgressBarHelper.cxx b/xmloff/source/core/ProgressBarHelper.cxx index 719ab804e3ad..d5a550acb3ba 100644 --- a/xmloff/source/core/ProgressBarHelper.cxx +++ b/xmloff/source/core/ProgressBarHelper.cxx @@ -26,7 +26,7 @@ using namespace ::com::sun::star; static const sal_Int32 nDefaultProgressBarRange = 1000000; -ProgressBarHelper::ProgressBarHelper(const ::com::sun::star::uno::Reference < ::com::sun::star::task::XStatusIndicator>& xTempStatusIndicator, +ProgressBarHelper::ProgressBarHelper(const css::uno::Reference < css::task::XStatusIndicator>& xTempStatusIndicator, const bool bTempStrict) : xStatusIndicator(xTempStatusIndicator) , nRange(nDefaultProgressBarRange) diff --git a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx index 66d95ade842b..55089bfdee9d 100644 --- a/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx +++ b/xmloff/source/core/XMLEmbeddedObjectImportContext.cxx @@ -70,23 +70,21 @@ const XMLServiceMapEntry_Impl aServiceMap[] = class XMLEmbeddedObjectImportContext_Impl : public SvXMLImportContext { - ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XDocumentHandler > xHandler; + css::uno::Reference< css::xml::sax::XDocumentHandler > xHandler; public: XMLEmbeddedObjectImportContext_Impl( SvXMLImport& rImport, sal_uInt16 nPrfx, const OUString& rLName, - const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XDocumentHandler >& rHandler ); + const css::uno::Reference< css::xml::sax::XDocumentHandler >& rHandler ); virtual ~XMLEmbeddedObjectImportContext_Impl(); virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix, const OUString& rLocalName, - const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) override; + const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; - virtual void StartElement( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList ) override; + virtual void StartElement( const css::uno::Reference< css::xml::sax::XAttributeList >& xAttrList ) override; virtual void EndElement() override; diff --git a/xmloff/source/core/attrlist.cxx b/xmloff/source/core/attrlist.cxx index 6be5a3c9b850..af62a69db10e 100644 --- a/xmloff/source/core/attrlist.cxx +++ b/xmloff/source/core/attrlist.cxx @@ -70,14 +70,14 @@ struct SvXMLAttributeList_Impl -sal_Int16 SAL_CALL SvXMLAttributeList::getLength() throw( ::com::sun::star::uno::RuntimeException, std::exception ) +sal_Int16 SAL_CALL SvXMLAttributeList::getLength() throw( css::uno::RuntimeException, std::exception ) { return sal::static_int_cast< sal_Int16 >(m_pImpl->vecAttribute.size()); } SvXMLAttributeList::SvXMLAttributeList( const SvXMLAttributeList &r ) : - cppu::WeakImplHelper3<com::sun::star::xml::sax::XAttributeList, com::sun::star::util::XCloneable, com::sun::star::lang::XUnoTunnel>(r), + cppu::WeakImplHelper3<css::xml::sax::XAttributeList, css::util::XCloneable, css::lang::XUnoTunnel>(r), m_pImpl( new SvXMLAttributeList_Impl( *r.m_pImpl ) ) { } @@ -97,28 +97,28 @@ SvXMLAttributeList::SvXMLAttributeList( const uno::Reference< AppendAttributeList( rAttrList ); } -OUString SAL_CALL SvXMLAttributeList::getNameByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception ) +OUString SAL_CALL SvXMLAttributeList::getNameByIndex(sal_Int16 i) throw( css::uno::RuntimeException, std::exception ) { return ( static_cast< SvXMLAttributeList_Impl::size_type >( i ) < m_pImpl->vecAttribute.size() ) ? m_pImpl->vecAttribute[i].sName : OUString(); } -OUString SAL_CALL SvXMLAttributeList::getTypeByIndex(sal_Int16) throw( ::com::sun::star::uno::RuntimeException, std::exception ) +OUString SAL_CALL SvXMLAttributeList::getTypeByIndex(sal_Int16) throw( css::uno::RuntimeException, std::exception ) { return sType; } -OUString SAL_CALL SvXMLAttributeList::getValueByIndex(sal_Int16 i) throw( ::com::sun::star::uno::RuntimeException, std::exception ) +OUString SAL_CALL SvXMLAttributeList::getValueByIndex(sal_Int16 i) throw( css::uno::RuntimeException, std::exception ) { return ( static_cast< SvXMLAttributeList_Impl::size_type >( i ) < m_pImpl->vecAttribute.size() ) ? m_pImpl->vecAttribute[i].sValue : OUString(); } -OUString SAL_CALL SvXMLAttributeList::getTypeByName( const OUString& ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) +OUString SAL_CALL SvXMLAttributeList::getTypeByName( const OUString& ) throw( css::uno::RuntimeException, std::exception ) { return sType; } -OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) +OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) throw( css::uno::RuntimeException, std::exception ) { ::std::vector<struct SvXMLTagAttribute_Impl>::iterator ii = m_pImpl->vecAttribute.begin(); @@ -131,9 +131,9 @@ OUString SAL_CALL SvXMLAttributeList::getValueByName(const OUString& sName) thro } -uno::Reference< ::com::sun::star::util::XCloneable > SvXMLAttributeList::createClone() throw( ::com::sun::star::uno::RuntimeException, std::exception ) +uno::Reference< css::util::XCloneable > SvXMLAttributeList::createClone() throw( css::uno::RuntimeException, std::exception ) { - uno::Reference< ::com::sun::star::util::XCloneable > r = new SvXMLAttributeList( *this ); + uno::Reference< css::util::XCloneable > r = new SvXMLAttributeList( *this ); return r; } @@ -176,7 +176,7 @@ void SvXMLAttributeList::RemoveAttribute( const OUString& sName ) } } -void SvXMLAttributeList::AppendAttributeList( const uno::Reference< ::com::sun::star::xml::sax::XAttributeList > &r ) +void SvXMLAttributeList::AppendAttributeList( const uno::Reference< css::xml::sax::XAttributeList > &r ) { OSL_ASSERT( r.is() ); diff --git a/xmloff/source/core/unoatrcn.cxx b/xmloff/source/core/unoatrcn.cxx index b196291cc725..eb1fc7caa917 100644 --- a/xmloff/source/core/unoatrcn.cxx +++ b/xmloff/source/core/unoatrcn.cxx @@ -97,12 +97,12 @@ namespace class theSvUnoAttributeContainerUnoTunnelId : public rtl::Static< UnoTunnelIdInit, theSvUnoAttributeContainerUnoTunnelId> {}; } -const ::com::sun::star::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId() throw() +const css::uno::Sequence< sal_Int8 > & SvUnoAttributeContainer::getUnoTunnelId() throw() { return theSvUnoAttributeContainerUnoTunnelId::get().getSeq(); } -sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rId ) throw(::com::sun::star::uno::RuntimeException, std::exception) +sal_Int64 SAL_CALL SvUnoAttributeContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) throw(css::uno::RuntimeException, std::exception) { if( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), rId.getConstArray(), 16 ) ) diff --git a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx index 0e2a2cbc2a24..43b36026d331 100644 --- a/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx +++ b/xmloff/source/core/unointerfacetouniqueidentifiermapper.cxx @@ -20,8 +20,8 @@ #include <xmloff/unointerfacetouniqueidentifiermapper.hxx> using namespace ::com::sun::star; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::XInterface; +using css::uno::Reference; +using css::uno::XInterface; namespace comphelper { diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 737e7d1cda2e..7f15295eaba2 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -165,7 +165,7 @@ public: virtual void Characters( const OUString& i_rCharacters ) override; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > + virtual css::uno::Reference< css::uno::XComponentContext > GetComponentContext() const override; private: SvXMLExport& m_rExport; @@ -207,7 +207,7 @@ Reference< XComponentContext > SettingsExportFacade::GetComponentContext() const } class SvXMLExportEventListener : public cppu::WeakImplHelper< - com::sun::star::lang::XEventListener > + css::lang::XEventListener > { private: SvXMLExport* pExport; @@ -217,7 +217,7 @@ public: virtual ~SvXMLExportEventListener(); // XEventListener - virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(css::uno::RuntimeException, std::exception) override; }; SvXMLExportEventListener::SvXMLExportEventListener(SvXMLExport* pTempExport) @@ -462,7 +462,7 @@ SvXMLExport::SvXMLExport( } SvXMLExport::SvXMLExport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, + const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, const OUString &rFileName, sal_Int16 const eDefaultMeasureUnit /*css::util::MeasureUnit*/, @@ -497,7 +497,7 @@ SvXMLExport::SvXMLExport( } SvXMLExport::SvXMLExport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, + const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, const OUString &rFileName, const uno::Reference< xml::sax::XDocumentHandler > & rHandler, @@ -671,7 +671,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo } } } - catch(const com::sun::star::uno::Exception&) + catch(const css::uno::Exception&) { } } @@ -682,7 +682,7 @@ void SAL_CALL SvXMLExport::setSourceDocument( const uno::Reference< lang::XCompo // XInitialize void SAL_CALL SvXMLExport::initialize( const uno::Sequence< uno::Any >& aArguments ) - throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) { // #93186# we need to queryInterface every single Any with any expected outcome. This variable hold the queryInterface results. @@ -871,13 +871,13 @@ void SAL_CALL SvXMLExport::cancel() throw(uno::RuntimeException, std::exception) } OUString SAL_CALL SvXMLExport::getName( ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) { return msFilterName; } void SAL_CALL SvXMLExport::setName( const OUString& ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (css::uno::RuntimeException, std::exception) { // do nothing, because it is not possible to set the FilterName } @@ -1010,7 +1010,7 @@ void SvXMLExport::AddAttribute( const OUString& rQName, } void SvXMLExport::AddLanguageTagAttributes( sal_uInt16 nPrefix, sal_uInt16 nPrefixRfc, - const ::com::sun::star::lang::Locale& rLocale, bool bWriteEmpty, + const css::lang::Locale& rLocale, bool bWriteEmpty, enum ::xmloff::token::XMLTokenEnum eClass ) { if (rLocale.Variant.isEmpty()) @@ -1343,7 +1343,7 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) bOwnEmbeddedResolver = mxEmbeddedResolver.is(); } } - catch(const com::sun::star::uno::Exception&) + catch(const css::uno::Exception&) { } } @@ -1389,7 +1389,7 @@ sal_uInt32 SvXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum eClass ) mxExtHandler.set( mxHandler, UNO_QUERY ); } } - catch(const com::sun::star::uno::Exception&) + catch(const css::uno::Exception&) { } } diff --git a/xmloff/source/core/xmlictxt.cxx b/xmloff/source/core/xmlictxt.cxx index 8b232e395669..aa1aa2ec6a7a 100644 --- a/xmloff/source/core/xmlictxt.cxx +++ b/xmloff/source/core/xmlictxt.cxx @@ -68,7 +68,7 @@ void SvXMLImportContext::Characters( const OUString& ) { } -// ::com::sun::star::xml::sax::XFastContextHandler: +// css::xml::sax::XFastContextHandler: void SAL_CALL SvXMLImportContext::startFastElement(sal_Int32, const uno::Reference< xml::sax::XFastAttributeList > &) throw (uno::RuntimeException, xml::sax::SAXException, std::exception) { diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index ad5f58a309a7..92fd16a82482 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -105,8 +105,7 @@ sal_Char const sXML_np__field[] = "_field"; sal_Char const sXML_np__xhtml[] = "_xhtml"; sal_Char const sXML_np__css3text[] = "_css3text"; -class SvXMLImportEventListener : public cppu::WeakImplHelper< - com::sun::star::lang::XEventListener > +class SvXMLImportEventListener : public cppu::WeakImplHelper< css::lang::XEventListener > { private: SvXMLImport* pImport; @@ -116,7 +115,7 @@ public: virtual ~SvXMLImportEventListener(); // XEventListener - virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(::com::sun::star::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disposing(const lang::EventObject& rEventObject) throw(css::uno::RuntimeException, std::exception) override; }; SvXMLImportEventListener::SvXMLImportEventListener(SvXMLImport* pTempImport) @@ -419,7 +418,7 @@ void SvXMLImport::_InitCtor() } SvXMLImport::SvXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, + const css::uno::Reference< css::uno::XComponentContext >& xContext, OUString const & implementationName, SvXMLImportFlags nImportFlags ) throw () : mpImpl( new SvXMLImport_Impl(xContext, implementationName) ), mpNamespaceMap( new SvXMLNamespaceMap ), @@ -529,7 +528,7 @@ void SAL_CALL SvXMLImport::startDocument() mpImpl->mbOwnEmbeddedResolver = mxEmbeddedResolver.is(); } } - catch( com::sun::star::uno::Exception& ) + catch( css::uno::Exception& ) { } } @@ -964,7 +963,7 @@ void SAL_CALL SvXMLImport::cancel( ) // XInitialize void SAL_CALL SvXMLImport::initialize( const uno::Sequence< uno::Any >& aArguments ) - throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) + throw(css::uno::Exception, css::uno::RuntimeException, std::exception) { const sal_Int32 nAnyCount = aArguments.getLength(); const uno::Any* pAny = aArguments.getConstArray(); @@ -1077,7 +1076,7 @@ OUString SAL_CALL SvXMLImport::getImplementationName() } sal_Bool SAL_CALL SvXMLImport::supportsService( const OUString& rServiceName ) - throw(::com::sun::star::uno::RuntimeException, std::exception) + throw(css::uno::RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } @@ -1455,11 +1454,11 @@ OUString SvXMLImport::GetStyleDisplayName( sal_uInt16 nFamily, return sName; } -void SvXMLImport::SetViewSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) +void SvXMLImport::SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>&) { } -void SvXMLImport::SetConfigurationSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&) +void SvXMLImport::SetConfigurationSettings(const css::uno::Sequence<css::beans::PropertyValue>&) { } diff --git a/xmloff/source/core/xmluconv.cxx b/xmloff/source/core/xmluconv.cxx index 9d0fc3cad9b4..c0a3a6bd4822 100644 --- a/xmloff/source/core/xmluconv.cxx +++ b/xmloff/source/core/xmluconv.cxx @@ -295,12 +295,12 @@ bool SvXMLUnitConverter::convertDouble(double& rValue, } /** get the Null Date of the XModel and set it to the UnitConverter */ -bool SvXMLUnitConverter::setNullDate(const com::sun::star::uno::Reference <com::sun::star::frame::XModel>& xModel) +bool SvXMLUnitConverter::setNullDate(const css::uno::Reference <css::frame::XModel>& xModel) { - com::sun::star::uno::Reference <com::sun::star::util::XNumberFormatsSupplier> xNumberFormatsSupplier (xModel, com::sun::star::uno::UNO_QUERY); + css::uno::Reference <css::util::XNumberFormatsSupplier> xNumberFormatsSupplier (xModel, css::uno::UNO_QUERY); if (xNumberFormatsSupplier.is()) { - const com::sun::star::uno::Reference <com::sun::star::beans::XPropertySet> xPropertySet = xNumberFormatsSupplier->getNumberFormatSettings(); + const css::uno::Reference <css::beans::XPropertySet> xPropertySet = xNumberFormatsSupplier->getNumberFormatSettings(); return xPropertySet.is() && (xPropertySet->getPropertyValue(XML_NULLDATE) >>= m_pImpl->m_aNullDate); } return false; @@ -323,7 +323,7 @@ bool SvXMLUnitConverter::convertDateTime(double& fDateTime, /** convert double to ISO Date Time String */ void SvXMLUnitConverter::convertDateTime( OUStringBuffer& rBuffer, const double& fDateTime, - const com::sun::star::util::Date& aTempNullDate, + const css::util::Date& aTempNullDate, bool bAddTimeIf0AM ) { double fValue = fDateTime; @@ -430,9 +430,9 @@ void SvXMLUnitConverter::convertDateTime( OUStringBuffer& rBuffer, /** convert ISO Date Time String to double */ bool SvXMLUnitConverter::convertDateTime( double& fDateTime, - const OUString& rString, const com::sun::star::util::Date& aTempNullDate) + const OUString& rString, const css::util::Date& aTempNullDate) { - com::sun::star::util::DateTime aDateTime; + css::util::DateTime aDateTime; bool bSuccess = ::sax::Converter::parseDateTime(aDateTime, nullptr, rString); if (bSuccess) |