From bd007064326c91f5dbf7ee104463cbb18e3db62c Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 11 Jan 2012 17:07:40 +0000 Subject: [PATCH] .ide cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@4399 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/LayDes/item.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uppsrc/ide/LayDes/item.cpp b/uppsrc/ide/LayDes/item.cpp index 691187cd4..44ec446a6 100644 --- a/uppsrc/ide/LayDes/item.cpp +++ b/uppsrc/ide/LayDes/item.cpp @@ -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(v)) { + if(v.Is()) { 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(v)) + if(v.Is()) w = EscColor(v); ctrl.MapSet(property[q].name, w); }