diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-02-18 13:25:25 +0100 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-02-18 13:25:25 +0100 |
| commit | 88a7819026f53420d5b973acfd2590e58b0c49aa (patch) | |
| tree | a661ddd5519eff3076fc9c30118d3b9f6795dc0d /lib/gui/esubtitle.cpp | |
| parent | 7fd9ffdeb796034ee631a795fb5bab31b035e8e7 (diff) | |
| parent | 18d5fedc236e3374f8a31af5e312d12bb16fd31d (diff) | |
| download | enigma2-88a7819026f53420d5b973acfd2590e58b0c49aa.tar.gz enigma2-88a7819026f53420d5b973acfd2590e58b0c49aa.zip | |
Merge branch 'master' of /home/tmbinc/enigma2-git
Diffstat (limited to 'lib/gui/esubtitle.cpp')
| -rw-r--r-- | lib/gui/esubtitle.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/gui/esubtitle.cpp b/lib/gui/esubtitle.cpp index 085a749a..ca5c20d7 100644 --- a/lib/gui/esubtitle.cpp +++ b/lib/gui/esubtitle.cpp @@ -114,15 +114,6 @@ void eSubtitleWidget::setPixmap(ePtr<gPixmap> &pixmap, gRegion changed) invalidate(changed); } -std::string eSubtitleWidget::replace_all(const std::string &in, const std::string &entity, const std::string &symbol) -{ - std::string out = in; - std::string::size_type loc = 0; - while (( loc = out.find(entity, loc)) != std::string::npos ) - out.replace(loc, entity.length(), symbol); - return out; -} - int eSubtitleWidget::event(int event, void *data, void *data2) { switch (event) |
