[LyX/master] Amend 76cdca64223f
Juergen Spitzmueller
spitz at lyx.org
Sun Aug 23 11:24:11 UTC 2020
commit 0fa93fe55a85e901215ea783e3baf2b465fb67bd
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sun Aug 23 13:48:45 2020 +0200
Amend 76cdca64223f
Use auto pointer in all loops over UsedLanguages_
---
src/LaTeXFeatures.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 0f343d7..3d67128 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -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())
More information about the lyx-cvs
mailing list