diff options
| author | Mladen Horvat <acidburn@opendreambox.org> | 2009-02-17 09:34:59 +0100 |
|---|---|---|
| committer | Mladen Horvat <acidburn@opendreambox.org> | 2009-02-17 09:34:59 +0100 |
| commit | 87077e86dcddc99e1883a814d6c4deea0f9a953c (patch) | |
| tree | b7f803d9c500894ed312bf0b0ee9326ce64ef914 /lib/gui/esubtitle.cpp | |
| parent | aaf19f7326eebbf125ec5b50d86bfac32e205ccb (diff) | |
| parent | dd76d3712ae3f422580c5462139302cfa2527dfd (diff) | |
| download | enigma2-87077e86dcddc99e1883a814d6c4deea0f9a953c.tar.gz enigma2-87077e86dcddc99e1883a814d6c4deea0f9a953c.zip | |
Merge branch 'master' of git://git.opendreambox.org/git/enigma2
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) |
