From 857b74041aa339e56ee8b2a05a910172753ed783 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 15 Feb 2023 01:18:28 +0100 Subject: Drop 'using namespace ::std' in dirs [u-x]* Change-Id: I8c044369826b00241496cfc7ba2463e507c0d1a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147077 Tested-by: Jenkins Reviewed-by: Gabor Kelemen --- xmloff/source/style/xmlaustp.cxx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'xmloff/source/style/xmlaustp.cxx') diff --git a/xmloff/source/style/xmlaustp.cxx b/xmloff/source/style/xmlaustp.cxx index 20d639c3b121..47bba649b968 100644 --- a/xmloff/source/style/xmlaustp.cxx +++ b/xmloff/source/style/xmlaustp.cxx @@ -32,8 +32,6 @@ #include -using namespace ::std; - using namespace ::com::sun::star; using namespace ::xmloff::token; @@ -60,7 +58,7 @@ namespace void SvXMLAutoStylePoolP::exportStyleAttributes( comphelper::AttributeList&, XmlStyleFamily nFamily, - const vector< XMLPropertyState >& rProperties, + const std::vector< XMLPropertyState >& rProperties, const SvXMLExportPropertyMapper& rPropExp, const SvXMLUnitConverter&, const SvXMLNamespaceMap& @@ -170,7 +168,7 @@ void SvXMLAutoStylePoolP::exportStyleAttributes( void SvXMLAutoStylePoolP::exportStyleContent( const css::uno::Reference< css::xml::sax::XDocumentHandler > &, XmlStyleFamily nFamily, - const vector< XMLPropertyState >& rProperties, + const std::vector< XMLPropertyState >& rProperties, const SvXMLExportPropertyMapper& rPropExp, const SvXMLUnitConverter&, const SvXMLNamespaceMap& @@ -325,7 +323,7 @@ void SvXMLAutoStylePoolP::RegisterNames( // iterate over sequence(s) and call RegisterName(..) for each pair const sal_Int32* pFamilies = aFamilies.getConstArray(); const OUString* pNames = aNames.getConstArray(); - sal_Int32 nCount = min( aFamilies.getLength(), aNames.getLength() ); + sal_Int32 nCount = std::min( aFamilies.getLength(), aNames.getLength() ); for( sal_Int32 n = 0; n < nCount; n++ ) RegisterName( static_cast(pFamilies[n]), pNames[n] ); } @@ -337,7 +335,7 @@ css::uno::Sequence SvXMLAutoStylePoolP::GetPropertyNames( ) } OUString SvXMLAutoStylePoolP::Add( XmlStyleFamily nFamily, - vector< XMLPropertyState >&& rProperties ) + std::vector< XMLPropertyState >&& rProperties ) { OUString sName; pImpl->Add(sName, nFamily, "", std::move(rProperties) ); @@ -346,7 +344,7 @@ OUString SvXMLAutoStylePoolP::Add( XmlStyleFamily nFamily, OUString SvXMLAutoStylePoolP::Add( XmlStyleFamily nFamily, const OUString& rParent, - vector< XMLPropertyState >&& rProperties, bool bDontSeek ) + std::vector< XMLPropertyState >&& rProperties, bool bDontSeek ) { OUString sName; pImpl->Add(sName, nFamily, rParent, std::move(rProperties), bDontSeek); @@ -367,7 +365,7 @@ bool SvXMLAutoStylePoolP::AddNamed( const OUString& rName, XmlStyleFamily nFamil OUString SvXMLAutoStylePoolP::Find( XmlStyleFamily nFamily, const OUString& rParent, - const vector< XMLPropertyState >& rProperties ) const + const std::vector< XMLPropertyState >& rProperties ) const { return pImpl->Find( nFamily, rParent, rProperties ); } -- cgit