From: Abdelrazak Younes Date: Mon, 29 Oct 2007 10:47:41 +0000 (+0000) Subject: put back the const. X-Git-Tag: 1.6.10~7621 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5e418fb6609ce59f7659ae3d8ae93f3ce856270f;p=lyx.git put back the const. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21257 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index dfbf9b4d99..d60bb81718 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -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