commit 36e047dd5b26b372fb45a9ea58f8e8c71a5b7604
Author: Thibaut Cuvelier <[email protected]>
Date: Fri Jul 18 06:42:58 2025 +0200
Code modernisation: replace 0 by nullptr, get rid of const when it does
nothing.
---
src/insets/InsetLabel.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/insets/InsetLabel.h b/src/insets/InsetLabel.h
index 546601f946..9a687ffc18 100644
--- a/src/insets/InsetLabel.h
+++ b/src/insets/InsetLabel.h
@@ -40,10 +40,10 @@ public:
///
int rowFlags() const override { return CanBreakBefore | CanBreakAfter; }
/// Updates only the label string, doesn't handle undo nor references.
- void updateLabel(docstring const & new_label, bool const active = true);
+ void updateLabel(docstring const & new_label, bool active = true);
/// Updates the label and the references to it.
/// Will also handle undo/redo if \p cursor is passed.
- void updateLabelAndRefs(docstring const & new_label, Cursor * cursor =
0);
+ void updateLabelAndRefs(docstring const & new_label, Cursor * cursor =
nullptr);
/// \name Public functions inherited from Inset class
//@{
@@ -65,7 +65,7 @@ public:
///
docstring xhtml(XMLStream &, OutputParams const &) const override;
///
- void updateBuffer(ParIterator const & it, UpdateType, bool const
deleted = false) override;
+ void updateBuffer(ParIterator const & it, UpdateType, bool deleted =
false) override;
///
void addToToc(DocIterator const & di, bool output_active,
UpdateType utype, TocBackend & backend) const
override;
@@ -108,7 +108,7 @@ private:
void uniqueLabel(docstring & label) const;
///
void updateReferences(docstring const & old_label,
- docstring const & new_label, bool const changes);
+ docstring const & new_label, bool changes);
///
docstring screen_label_;
///
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs