IDE: remove obsolete UnitInfoFlagNames, use WriteStr

git-svn-id: trunk@33231 -
This commit is contained in:
juha 2011-11-02 23:14:15 +00:00
parent 3ae1241e1b
commit daeaa70d10

View File

@ -1115,13 +1115,6 @@ const
var
Project1: TProject = nil;// the main project
const
UnitInfoFlagNames: array[TUnitInfoFlag] of string = (
'uifComponentUsedByDesigner',
'uifComponentIndirectlyUsedByDesigner',
'uifMarked'
);
function AddCompileReasonsDiff(const PropertyName: string;
const Old, New: TCompileReasons; Tool: TCompilerDiffTool = nil): boolean;
function dbgs(aType: TUnitCompDependencyType): string; overload;
@ -1169,7 +1162,7 @@ end;
function dbgs(Flag: TUnitInfoFlag): string;
begin
Result:=UnitInfoFlagNames[Flag];
WriteStr(Result, Flag);
end;
function dbgs(Flags: TUnitInfoFlags): string;