From 8b1f1c29ffa4f9b511fafb1195a3ad16993a2d31 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 30 Sep 2023 13:58:57 +0200 Subject: [PATCH] Style --- src/insets/Inset.cpp | 2 +- src/insets/Inset.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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