mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 15:58:07 +02:00
Using TStringArray from SysUtils instead of creating new types for "array of string"
This commit is contained in:
parent
20929d2f06
commit
9d6b34ca0c
@ -428,10 +428,7 @@ type
|
||||
var
|
||||
FontCollection: TCustomFreeTypeFontCollection;
|
||||
|
||||
type
|
||||
ArrayOfString = array of string;
|
||||
|
||||
function StylesToArray(AStyles: string): ArrayOfString;
|
||||
function StylesToArray(AStyles: string): TStringArray;
|
||||
|
||||
const FreeTypeMinPointSize = 1;
|
||||
|
||||
@ -453,7 +450,7 @@ begin
|
||||
result.NotifyProc := ANotifyProc;
|
||||
end;
|
||||
|
||||
function StylesToArray(AStyles: string): ArrayOfString;
|
||||
function StylesToArray(AStyles: string): TStringArray;
|
||||
var
|
||||
StartIndex, EndIndex: integer;
|
||||
Count: integer;
|
||||
|
@ -1431,8 +1431,6 @@ type
|
||||
|
||||
{%region ***** Register ***** }
|
||||
|
||||
TStringArray = Array of string;
|
||||
|
||||
TGDBMIRegisterSupplier = class;
|
||||
|
||||
{ TGDBMIDebuggerCommandRegisterUpdate }
|
||||
|
@ -12,8 +12,6 @@ uses
|
||||
|
||||
type
|
||||
|
||||
TStringArray = array of string;
|
||||
|
||||
TTestSetSelFlag = (
|
||||
tssEmptyFirst,
|
||||
tssSkipUndoBlock,
|
||||
|
@ -5,7 +5,7 @@ unit TestHighlightXml;
|
||||
interface
|
||||
|
||||
uses
|
||||
testregistry, TestBase, TestHighlightFoldBase, SynHighlighterXML,
|
||||
SysUtils, testregistry, TestBase, TestHighlightFoldBase, SynHighlighterXML,
|
||||
SynEditHighlighterFoldBase;
|
||||
|
||||
type
|
||||
|
@ -8,10 +8,6 @@ uses
|
||||
Classes, SysUtils, fpcunit, testutils, testregistry, LazLoggerBase, LazLogger, LazClasses;
|
||||
|
||||
type
|
||||
TStringArray = array of string;
|
||||
|
||||
{ TTestLazLogger }
|
||||
|
||||
TTestLazLogger = class(TTestCase)
|
||||
protected
|
||||
FTheLogger: TLazLoggerFile;
|
||||
|
Loading…
Reference in New Issue
Block a user