X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.C;h=16fe59da46e15820686ae7d2a0cdd0361df1eb44;hb=80328d2053869dc089c23c25adbed4167d7bf0b1;hp=4333eb6d9124293358be9639eb0e925dc8e2fad3;hpb=244b2c1fabb5174f8f56e43d23bbc8ef7c39916b;p=lyx.git diff --git a/src/LaTeXFeatures.C b/src/LaTeXFeatures.C index 4333eb6d91..16fe59da46 100644 --- a/src/LaTeXFeatures.C +++ b/src/LaTeXFeatures.C @@ -104,8 +104,6 @@ void LaTeXFeatures::getAvailable() packages_.push_back(name); } } - - return; } @@ -154,7 +152,7 @@ bool LaTeXFeatures::isRequired(string const & name) const } -bool LaTeXFeatures::isAvailable(string const & name) const +bool LaTeXFeatures::isAvailable(string const & name) { if (packages_.empty()) getAvailable(); @@ -162,7 +160,7 @@ bool LaTeXFeatures::isAvailable(string const & name) const } -void LaTeXFeatures::addExternalPreamble(string const & preamble) +void LaTeXFeatures::addPreambleSnippet(string const & preamble) { FeaturesList::const_iterator begin = preamble_snippets_.begin(); FeaturesList::const_iterator end = preamble_snippets_.end();