diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-23 10:32:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-23 12:05:04 +0200 |
commit | 1c909a13a0816e20d365000cc527d93e02633b0c (patch) | |
tree | 7a402659f9696c01ceeca51c5ddd2127b3b0e815 /include/xmloff/unointerfacetouniqueidentifiermapper.hxx | |
parent | oox: replace boost::ptr_vector with std::vector<std::unique_ptr> (diff) | |
download | core-1c909a13a0816e20d365000cc527d93e02633b0c.tar.gz core-1c909a13a0816e20d365000cc527d93e02633b0c.zip |
com::sun::star->css in include/ucbhelper to include/xmlscript
Change-Id: Iaa7f0b8455a601d3992c08cde0943c709c417256
Diffstat (limited to 'include/xmloff/unointerfacetouniqueidentifiermapper.hxx')
-rw-r--r-- | include/xmloff/unointerfacetouniqueidentifiermapper.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/unointerfacetouniqueidentifiermapper.hxx b/include/xmloff/unointerfacetouniqueidentifiermapper.hxx index 2bde5003c7c0..28156d0570d7 100644 --- a/include/xmloff/unointerfacetouniqueidentifiermapper.hxx +++ b/include/xmloff/unointerfacetouniqueidentifiermapper.hxx @@ -31,7 +31,7 @@ namespace comphelper { -typedef ::std::map< OUString, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > > IdMap_t; +typedef ::std::map< OUString, css::uno::Reference< css::uno::XInterface > > IdMap_t; class XMLOFF_DLLPUBLIC UnoInterfaceToUniqueIdentifierMapper { @@ -41,38 +41,38 @@ public: /** returns a unique identifier for the given uno object. IF a uno object is registered more than once, the returned identifier is always the same. */ - const OUString& registerReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface ); + const OUString& registerReference( const css::uno::Reference< css::uno::XInterface >& rInterface ); /** registers the given uno object with the given identifier. @returns false, if the given identifier already exists and is not associated with the given interface */ - bool registerReference( const OUString& rIdentifier, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface ); + bool registerReference( const OUString& rIdentifier, const css::uno::Reference< css::uno::XInterface >& rInterface ); /** always registers the given uno object with the given identifier. In contrast to registerReference(), this here overwrites any earlier registration of the same identifier */ - void registerReferenceAlways( const rtl::OUString& rIdentifier, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface ); + void registerReferenceAlways( const rtl::OUString& rIdentifier, const css::uno::Reference< css::uno::XInterface >& rInterface ); /** @returns the identifier for the given uno object. If this uno object is not already registered, an empty string is returned */ - const OUString& getIdentifier( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface ) const; + const OUString& getIdentifier( const css::uno::Reference< css::uno::XInterface >& rInterface ) const; /** @returns the uno object that is registered with the given identifier. If no uno object is registered with the given identifier, an empty reference is returned. */ - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& getReference( const OUString& rIdentifier ) const; + const css::uno::Reference< css::uno::XInterface >& getReference( const OUString& rIdentifier ) const; private: - bool findReference( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface, IdMap_t::const_iterator& rIter ) const; + bool findReference( const css::uno::Reference< css::uno::XInterface >& rInterface, IdMap_t::const_iterator& rIter ) const; bool findIdentifier( const OUString& rIdentifier, IdMap_t::const_iterator& rIter ) const; - void insertReference( const OUString& rIdentifier, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rInterface ); + void insertReference( const OUString& rIdentifier, const css::uno::Reference< css::uno::XInterface >& rInterface ); IdMap_t maEntries; sal_Int32 mnNextId; |