commit 4e8730b57e9807c9df9350200b444ba5819c1b28
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Wed Apr 25 22:51:57 2018 -0400

    Const.
---
 src/insets/InsetListings.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/insets/InsetListings.cpp b/src/insets/InsetListings.cpp
index d106da3..de70ffe 100644
--- a/src/insets/InsetListings.cpp
+++ b/src/insets/InsetListings.cpp
@@ -201,7 +201,7 @@ void InsetListings::latex(otexstream & os, OutputParams 
const & runparams) const
                                && par->getInset(0)->lyxCode() == CAPTION_CODE;
 
        while (par != end) {
-               pos_type siz = par->size();
+               pos_type const siz = par->size();
                bool captionline = false;
                for (pos_type i = 0; i < siz; ++i) {
                        if (i == 0 && par->isInset(i) && i + 1 == siz)

Reply via email to