* InsetText::frame_color_: int -> ColorCode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21256 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-10-29 10:46:13 +00:00
parent c3452835a8
commit 0e87c91115
2 changed files with 5 additions and 5 deletions

View File

@ -367,7 +367,7 @@ void InsetText::setDrawFrame(bool flag)
ColorCode InsetText::frameColor() const
{
return ColorCode(frame_color_);
return frame_color_;
}

View File

@ -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;