]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Remove undisclosed imports (from xxx import *)
[lyx.git] / src / Paragraph.cpp
index 90358d6903e052d78bf1ec7bec6117f4b1f98001..369d03ee836c238f6834e30601ec6e2e7be5dfc6 100644 (file)
@@ -1247,7 +1247,7 @@ void Paragraph::Private::latexSpecialChar(otexstream & os,
        // Both a layout tag and a dedicated inset seem too much effort for this.
        string const hr_url_escape_chars = "\\#%";
        if (contains(hr_url_escape_chars, c) && runparams.use_hyperref && il.latexname() == "url"
-           && il.requiresPackage("url")) {
+           && il.requiresFeature("url")) {
                os << "\\";
                os.put(c);
                return;