~ubuntu-branches/ubuntu/saucy/bibletime/saucy

« back to all changes in this revision

Viewing changes to src/frontend/settingsdialogs/btlanguagesettings.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-08-12 21:02:54 UTC
  • mfrom: (9.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20130812210254-rvyf2k0jj4rboz52
Tags: 2.9.2-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
 
102
102
    const std::list<sword::SWBuf> locales = sword::LocaleMgr::getSystemLocaleMgr()->getAvailableLocales();
103
103
    for (SBLCI it = locales.begin(); it != locales.end(); ++it) {
104
 
        const char * abbreviation = sword::LocaleMgr::getSystemLocaleMgr()->getLocale((*it).c_str())->getName();
 
104
        const char * const abbreviation = sword::LocaleMgr::getSystemLocaleMgr()->getLocale((*it).c_str())->getName();
105
105
        const CLanguageMgr::Language * const l = CLanguageMgr::instance()->languageForAbbrev(abbreviation);
106
106
 
107
107
        if (l->isValid()) {