From b57d51e32fb85e9cde64f85719725253162c42e4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 17 Feb 2017 19:06:24 +0200 Subject: Drop :: prefix from std in [de]*/ Change-Id: I3247894fe022dce7f0aa351bd85fefcd7c545dd4 Reviewed-on: https://gerrit.libreoffice.org/34377 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- dbaccess/source/ext/macromigration/migrationengine.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'dbaccess/source/ext/macromigration/migrationengine.cxx') diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx index 0a25424f0327..ab16c655765d 100644 --- a/dbaccess/source/ext/macromigration/migrationengine.cxx +++ b/dbaccess/source/ext/macromigration/migrationengine.cxx @@ -148,7 +148,7 @@ namespace dbmm } }; - typedef ::std::vector< SubDocument > SubDocuments; + typedef std::vector< SubDocument > SubDocuments; // helper typedef ::utl::SharedUNOComponent< XStorage > SharedStorage; @@ -564,7 +564,7 @@ namespace dbmm /** returns the names of the elements in the "Scripts" storage */ - ::std::set< OUString > + std::set< OUString > getElementNames() const; /** removes the sub storage for a given script type @@ -667,17 +667,17 @@ namespace dbmm return xStorage; } - ::std::set< OUString > ScriptsStorage::getElementNames() const + std::set< OUString > ScriptsStorage::getElementNames() const { Sequence< OUString > aElementNames; if ( isValid() ) aElementNames = m_xScriptsStorage->getElementNames(); - ::std::set< OUString > aNames; - ::std::copy( + std::set< OUString > aNames; + std::copy( aElementNames.getConstArray(), aElementNames.getConstArray() + aElementNames.getLength(), - ::std::insert_iterator< ::std::set< OUString > >( aNames, aNames.end() ) + std::insert_iterator< std::set< OUString > >( aNames, aNames.end() ) ); return aNames; } @@ -1180,7 +1180,7 @@ namespace dbmm { // no scripts at all, or no scripts of the given type return !m_rLogger.hadFailure(); } - ::std::set< OUString > aElementNames( aDocStorage.getElementNames() ); + std::set< OUString > aElementNames( aDocStorage.getElementNames() ); const ScriptType aKnownStorageBasedTypes[] = { eBeanShell, eJavaScript, ePython, eJava -- cgit