mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Amend 76cdca64223f
Use auto pointer in all loops over UsedLanguages_
This commit is contained in:
parent
57076cfff4
commit
0fa93fe55a
@ -1791,7 +1791,7 @@ docstring const LaTeXFeatures::getBabelPresettings() const
|
||||
{
|
||||
odocstringstream tmp;
|
||||
|
||||
for (Language const * lang : UsedLanguages_)
|
||||
for (auto const & lang : UsedLanguages_)
|
||||
if (!lang->babel_presettings().empty())
|
||||
tmp << lang->babel_presettings() << '\n';
|
||||
if (!params_.language->babel_presettings().empty())
|
||||
@ -1808,7 +1808,7 @@ docstring const LaTeXFeatures::getBabelPostsettings() const
|
||||
{
|
||||
odocstringstream tmp;
|
||||
|
||||
for (Language const * lang : UsedLanguages_)
|
||||
for (auto const & lang : UsedLanguages_)
|
||||
if (!lang->babel_postsettings().empty())
|
||||
tmp << lang->babel_postsettings() << '\n';
|
||||
if (!params_.language->babel_postsettings().empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user