From: Richard Heck Date: Wed, 29 Jun 2016 16:51:55 +0000 (-0400) Subject: Use const &. X-Git-Tag: 2.3.0alpha1~1385 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=499fc04c9a417cb91ddc97a2110ac59882fd4909;p=lyx.git Use const &. --- diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index 5b3e6472ed..a50d8f8120 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -387,7 +387,7 @@ void RowPainter::paintFirst() const void RowPainter::paintLabel() const { - docstring const str = par_.labelString(); + docstring const & str = par_.labelString(); if (str.empty()) return;