]> git.lyx.org Git - features.git/commitdiff
put back the const.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 29 Oct 2007 10:47:41 +0000 (10:47 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 29 Oct 2007 10:47:41 +0000 (10:47 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21257 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCollapsable.cpp

index dfbf9b4d99ca3c04e13f4fdeaf9bdf3bbc608788..d60bb81718ea87ec28c76200df485765a815499a 100644 (file)
@@ -231,7 +231,7 @@ bool InsetCollapsable::setMouseHover(bool mouse_hover)
 void InsetCollapsable::draw(PainterInfo & pi, int x, int y) const
 {
        autoOpen_ = pi.base.bv->cursor().isInside(this);
-       ColorCode old_color = pi.background_color;
+       ColorCode const old_color = pi.background_color;
        pi.background_color = backgroundColor();
 
        // Draw button first -- top, left or only