summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/sallogareas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/sallogareas.cxx')
-rw-r--r--compilerplugins/clang/sallogareas.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx
index e6c2997263da..98cafb596fd5 100644
--- a/compilerplugins/clang/sallogareas.cxx
+++ b/compilerplugins/clang/sallogareas.cxx
@@ -202,18 +202,18 @@ bad:
void SalLogAreas::readLogAreas()
{
- ifstream is( SRCDIR "/include/sal/log-areas.dox" );
+ std::ifstream is( SRCDIR "/include/sal/log-areas.dox" );
while( is.good())
{
- string line;
+ std::string line;
getline( is, line );
size_t pos = line.find( "@li @c " );
- if( pos != string::npos )
+ if( pos != std::string::npos )
{
pos += strlen( "@li @c " );
size_t end = line.find( ' ', pos );
std::string area;
- if( end == string::npos )
+ if( end == std::string::npos )
area = line.substr( pos );
else if( pos != end )
area = line.substr( pos, end - pos );