summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorGabor Kelemen <gabor.kelemen.extern@allotropia.de>2023-02-14 23:25:40 +0100
committerGabor Kelemen <kelemeng@ubuntu.com>2023-02-15 18:39:38 +0000
commit259ae22056b34f3477fc7ac0f31666dec41bf8ea (patch)
treee1f2818b39104941e5ab26eee1eb7af1fb93227a /io
parentc95597ac428f6515df232a07e82af75f4e0e242a (diff)
Drop 'using namespace ::std' in dirs [e-p]*
Change-Id: Ibe6a2f662f5721c594d28a8e0d7340d0f3cffe95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147075 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'io')
-rw-r--r--io/source/stm/odata.cxx3
-rw-r--r--io/source/stm/omark.cxx17
2 files changed, 9 insertions, 11 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx
index 7d39a5835852..6b19585da942 100644
--- a/io/source/stm/odata.cxx
+++ b/io/source/stm/odata.cxx
@@ -40,7 +40,6 @@
using namespace ::cppu;
using namespace ::osl;
-using namespace ::std;
using namespace ::com::sun::star::io;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -1039,7 +1038,7 @@ private:
Reference < XComponentContext > m_rCxt;
bool m_bValidMarkable;
Reference < XMarkableStream > m_rMarkable;
- vector < Reference< XPersistObject > > m_aPersistVector;
+ std::vector < Reference< XPersistObject > > m_aPersistVector;
};
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index d4bf6c74169a..3e6127d7310e 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -40,7 +40,6 @@
#include <osl/diagnose.h>
#include <mutex>
-using namespace ::std;
using namespace ::cppu;
using namespace ::osl;
using namespace ::com::sun::star::io;
@@ -116,7 +115,7 @@ private:
bool m_bValidStream;
MemRingBuffer m_aRingBuffer;
- map<sal_Int32,sal_Int32,less< sal_Int32 > > m_mapMarks;
+ std::map<sal_Int32,sal_Int32,std::less< sal_Int32 > > m_mapMarks;
sal_Int32 m_nCurrentPos;
sal_Int32 m_nCurrentMark;
@@ -204,7 +203,7 @@ sal_Int32 OMarkableOutputStream::createMark()
void OMarkableOutputStream::deleteMark(sal_Int32 Mark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii = m_mapMarks.find( Mark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::iterator ii = m_mapMarks.find( Mark );
if( ii == m_mapMarks.end() ) {
throw IllegalArgumentException(
@@ -218,7 +217,7 @@ void OMarkableOutputStream::deleteMark(sal_Int32 Mark)
void OMarkableOutputStream::jumpToMark(sal_Int32 nMark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii = m_mapMarks.find( nMark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::iterator ii = m_mapMarks.find( nMark );
if( ii == m_mapMarks.end() ) {
throw IllegalArgumentException(
@@ -239,7 +238,7 @@ sal_Int32 OMarkableOutputStream::offsetToMark(sal_Int32 nMark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::const_iterator ii = m_mapMarks.find( nMark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::const_iterator ii = m_mapMarks.find( nMark );
if( ii == m_mapMarks.end() )
{
@@ -424,7 +423,7 @@ private:
bool m_bValidStream;
std::unique_ptr<MemRingBuffer> m_pBuffer;
- map<sal_Int32,sal_Int32,less< sal_Int32 > > m_mapMarks;
+ std::map<sal_Int32,sal_Int32,std::less< sal_Int32 > > m_mapMarks;
sal_Int32 m_nCurrentPos;
sal_Int32 m_nCurrentMark;
@@ -600,7 +599,7 @@ sal_Int32 OMarkableInputStream::createMark()
void OMarkableInputStream::deleteMark(sal_Int32 Mark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii = m_mapMarks.find( Mark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::iterator ii = m_mapMarks.find( Mark );
if( ii == m_mapMarks.end() ) {
throw IllegalArgumentException(
@@ -614,7 +613,7 @@ void OMarkableInputStream::deleteMark(sal_Int32 Mark)
void OMarkableInputStream::jumpToMark(sal_Int32 nMark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::iterator ii = m_mapMarks.find( nMark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::iterator ii = m_mapMarks.find( nMark );
if( ii == m_mapMarks.end() )
{
@@ -635,7 +634,7 @@ void OMarkableInputStream::jumpToFurthest()
sal_Int32 OMarkableInputStream::offsetToMark(sal_Int32 nMark)
{
std::unique_lock guard( m_mutex );
- map<sal_Int32,sal_Int32,less<sal_Int32> >::const_iterator ii = m_mapMarks.find( nMark );
+ std::map<sal_Int32,sal_Int32,std::less<sal_Int32> >::const_iterator ii = m_mapMarks.find( nMark );
if( ii == m_mapMarks.end() )
{