]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexfile.cc
test framework: Correctly generate new paths in noopchroot
[apt.git] / apt-pkg / indexfile.cc
index 487a5b920977a4ea942f67263321e79a7e825b3b..f0fae907f5cb9f7180c4957d13b1e31279d555da 100644 (file)
@@ -107,9 +107,11 @@ bool pkgIndexFile::CheckLanguageCode(const char * const Lang)
                                                                        /*}}}*/
 // IndexFile::LanguageCode - Return the Language Code                  /*{{{*/
 std::string pkgIndexFile::LanguageCode() {
                                                                        /*}}}*/
 // IndexFile::LanguageCode - Return the Language Code                  /*{{{*/
 std::string pkgIndexFile::LanguageCode() {
+APT_IGNORE_DEPRECATED_PUSH
        if (TranslationsAvailable() == false)
                return "";
        return APT::Configuration::getLanguages()[0];
        if (TranslationsAvailable() == false)
                return "";
        return APT::Configuration::getLanguages()[0];
+APT_IGNORE_DEPRECATED_POP
 }
                                                                        /*}}}*/
 
 }
                                                                        /*}}}*/