commit 7d0cac64deec74666e3aed908ddf0d8bc5b3a49d
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Tue Jun 24 18:18:24 2025 +0200

    Amend b0254f08: some forgotten ampersands spotted by Riki
---
 src/Floating.h                       | 4 ++--
 src/frontends/qt/CustomizedWidgets.h | 2 +-
 src/insets/InsetSpace.h              | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Floating.h b/src/Floating.h
index fe0d84218b..7bc82b7dfb 100644
--- a/src/Floating.h
+++ b/src/Floating.h
@@ -42,7 +42,7 @@ public:
        ///
        std::string const & floattype() const { return floattype_; }
        ///
-       std::string docbookFloatType() const { return docbook_float_type_; }
+       std::string const & docbookFloatType() const { return 
docbook_float_type_; }
        ///
        std::string const & placement() const { return placement_; }
        ///
@@ -83,7 +83,7 @@ public:
        ///
        std::string docbookTag(bool hasTitle = false) const;
        ///
-       std::string docbookAttr() const { return docbook_attr_; }
+       std::string const & docbookAttr() const { return docbook_attr_; }
 
        ///
        std::string const & docbookTagType() const;
diff --git a/src/frontends/qt/CustomizedWidgets.h 
b/src/frontends/qt/CustomizedWidgets.h
index 223913650a..cf75156e15 100644
--- a/src/frontends/qt/CustomizedWidgets.h
+++ b/src/frontends/qt/CustomizedWidgets.h
@@ -31,7 +31,7 @@ class ShortcutWidget : public QLabel {
 public:
        ShortcutWidget(QWidget * parent);
        void reset();
-       KeySequence const getKeySequence() const { return keysequence_; }
+       KeySequence const & getKeySequence() const { return keysequence_; }
        void setKeySequence(lyx::KeySequence const & s)  { keysequence_ = s; }
        void removeFromSequence();
 protected Q_SLOTS:
diff --git a/src/insets/InsetSpace.h b/src/insets/InsetSpace.h
index 7cb3b3ab49..77b2c2352d 100644
--- a/src/insets/InsetSpace.h
+++ b/src/insets/InsetSpace.h
@@ -109,7 +109,7 @@ public:
        ///
        static std::string params2string(InsetSpaceParams const &);
        ///
-       GlueLength length() const { return params_.length; }
+       GlueLength const & length() const { return params_.length; }
        ///
        docstring toolTip(BufferView const & bv, int x, int y) const override;
        /// unprotected spaces allow line breaking after them
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to