diff options
-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 |