.ide cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@4399 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-01-11 17:07:40 +00:00
parent b1df79eb55
commit bd00706432

View file

@ -260,7 +260,7 @@ EscValue LayoutItem::CreateEsc() const
for(int q = 0; q < property.GetCount(); q++) {
EscValue w;
const Value& v = ~property[q];
if(IsType<Font>(v)) {
if(v.Is<Font>()) {
Font fnt = v;
if(fnt.GetHeight())
fnt.Height(Ctrl::VertLayoutZoom(fnt.GetHeight()));
@ -270,7 +270,7 @@ EscValue LayoutItem::CreateEsc() const
w = (WString)v;
if(IsNumber(v))
w = (double)v;
if(IsType<Color>(v))
if(v.Is<Color>())
w = EscColor(v);
ctrl.MapSet(property[q].name, w);
}