From 0e87c9111519f3a0bd122135ee32da6830e9f48f Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 29 Oct 2007 10:46:13 +0000 Subject: [PATCH] * InsetText::frame_color_: int -> ColorCode. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21256 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetText.cpp | 2 +- src/insets/InsetText.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp index 9be9c4ced4..cc33329a97 100644 --- a/src/insets/InsetText.cpp +++ b/src/insets/InsetText.cpp @@ -367,7 +367,7 @@ void InsetText::setDrawFrame(bool flag) ColorCode InsetText::frameColor() const { - return ColorCode(frame_color_); + return frame_color_; } diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 7d31968628..0f32ef062d 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -13,6 +13,8 @@ #define INSETTEXT_H #include "Inset.h" + +#include "ColorCode.h" #include "Text.h" #include "support/types.h" @@ -147,10 +149,8 @@ private: /// bool drawFrame_; - /** We store the ColorCode value as an int to get Color.h out - * of the header file. - */ - int frame_color_; + /// + ColorCode frame_color_; /// mutable pit_type old_pit; -- 2.39.2