aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dvb/db.cpp')
-rw-r--r--lib/dvb/db.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp
index 5426fa4b..1a2cd7df 100644
--- a/lib/dvb/db.cpp
+++ b/lib/dvb/db.cpp
@@ -126,7 +126,7 @@ eDVBDB::eDVBDB()
if (strlen(line))
line[strlen(line)-1]=0;
- eString str=line;
+ std::string str=line;
if (str[1]!=':') // old ... (only service_provider)
{
@@ -136,15 +136,15 @@ eDVBDB::eDVBDB()
{
unsigned int c=str.find(',');
char p=str[0];
- eString v;
- if (c == eString::npos)
+ std::string v;
+ if (c == std::string::npos)
{
- v=str.mid(2);
+ v=str.substr(2);
str="";
} else
{
- v=str.mid(2, c-2);
- str=str.mid(c+1);
+ v=str.substr(2, c-2);
+ str=str.substr(c+1);
}
// eDebug("%c ... %s", p, v.c_str());
if (p == 'p')