From: Juergen Spitzmueller Date: Sat, 30 Sep 2023 11:58:57 +0000 (+0200) Subject: Style X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8b1f1c29ffa4f9b511fafb1195a3ad16993a2d31;p=features.git Style --- diff --git a/src/insets/Inset.cpp b/src/insets/Inset.cpp index 6e3bb67a9d..6ffb407e06 100644 --- a/src/insets/Inset.cpp +++ b/src/insets/Inset.cpp @@ -673,7 +673,7 @@ docstring Inset::completionPrefix(Cursor const &) const } -Language const * Inset::getLocalOrDefaultLang(const OutputParams & rp) const +Language const * Inset::getLocalOrDefaultLang(OutputParams const & rp) const { return (rp.local_font != nullptr) ? rp.local_font->language() diff --git a/src/insets/Inset.h b/src/insets/Inset.h index 04fffe950b..d2b407675b 100644 --- a/src/insets/Inset.h +++ b/src/insets/Inset.h @@ -621,7 +621,7 @@ public: virtual bool confirmDeletion() const { return false; } /// Return the local_font's language or the buffer's default language /// if local_font is null - Language const * getLocalOrDefaultLang(const OutputParams &) const; + Language const * getLocalOrDefaultLang(OutputParams const &) const; protected: /// Constructors