diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 08:50:01 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-22 12:50:47 +0200 |
commit | c38678e140500083f81e0e006ba9b69e6f351fb1 (patch) | |
tree | 59d1b52b713f3771bdd83f7bc5c81078301a2270 /stoc | |
parent | e856f2323289efd3a6f070ff6e1b0f7cd3afb2aa (diff) |
stoc: convert TEST_LIST_CLASSES case also
Change-Id: Ib7b00f052c5b907ccc9b0aba924ada41ff1db023
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/corereflection/base.hxx | 2 | ||||
-rw-r--r-- | stoc/source/corereflection/crbase.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index 19ef0f27358b..17cae3c9facb 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -50,7 +50,7 @@ namespace stoc_corefl { #ifdef TEST_LIST_CLASSES -typedef list< OUString > ClassNameList; +typedef std::list< OUString > ClassNameList; extern ClassNameList g_aClassNames; #endif diff --git a/stoc/source/corereflection/crbase.cxx b/stoc/source/corereflection/crbase.cxx index 46d4dcab0b50..903f94501679 100644 --- a/stoc/source/corereflection/crbase.cxx +++ b/stoc/source/corereflection/crbase.cxx @@ -67,7 +67,7 @@ IdlClassImpl::IdlClassImpl( IdlReflectionServiceImpl * pReflection, } #ifdef TEST_LIST_CLASSES - ClassNameList::const_iterator iFind( find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) ); + ClassNameList::const_iterator iFind( std::find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) ); OSL_ENSURE( iFind == g_aClassNames.end(), "### idl class already exists!" ); g_aClassNames.push_front( _aName ); #endif @@ -81,7 +81,7 @@ IdlClassImpl::~IdlClassImpl() _pReflection->release(); #ifdef TEST_LIST_CLASSES - ClassNameList::iterator iFind( find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) ); + ClassNameList::iterator iFind( std::find( g_aClassNames.begin(), g_aClassNames.end(), _aName ) ); OSL_ENSURE( iFind != g_aClassNames.end(), "### idl class does not exist!" ); g_aClassNames.erase( iFind ); #endif |