mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Make docstring parameters const references
Spotted by Coverity scan.
This commit is contained in:
parent
b743870d71
commit
7a99ef7fbb
@ -32,11 +32,11 @@ public:
|
|||||||
///
|
///
|
||||||
docstring const & formattedCounter() const { return formatted_counter_; }
|
docstring const & formattedCounter() const { return formatted_counter_; }
|
||||||
///
|
///
|
||||||
void setCounterValue(docstring cv) { counter_value_ = cv; }
|
void setCounterValue(docstring const & cv) { counter_value_ = cv; }
|
||||||
///
|
///
|
||||||
void setPrettyCounter(docstring pc) { pretty_counter_ = pc; }
|
void setPrettyCounter(docstring const & pc) { pretty_counter_ = pc; }
|
||||||
///
|
///
|
||||||
void setFormattedCounter(docstring fc) { formatted_counter_ = fc; }
|
void setFormattedCounter(docstring const & fc) { formatted_counter_ = fc; }
|
||||||
///
|
///
|
||||||
int rowFlags() const override { return CanBreakBefore | CanBreakAfter; }
|
int rowFlags() const override { return CanBreakBefore | CanBreakAfter; }
|
||||||
/// Updates only the label string, doesn't handle undo nor references.
|
/// Updates only the label string, doesn't handle undo nor references.
|
||||||
|
Loading…
Reference in New Issue
Block a user