Browse Source

* Fix bug ID #28469

git-svn-id: trunk@31277 -
michael 10 years ago
parent
commit
7753417631
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packages/fcl-json/src/jsonconf.pp

+ 4 - 4
packages/fcl-json/src/jsonconf.pp

@@ -82,8 +82,8 @@ type
     procedure OpenKey(const aPath: UnicodeString; AllowCreate : Boolean);
     procedure OpenKey(const aPath: UnicodeString; AllowCreate : Boolean);
     procedure CloseKey;
     procedure CloseKey;
     procedure ResetKey;
     procedure ResetKey;
-    Procedure EnumSubKeys(Const APath : String; List : TStrings);
-    Procedure EnumValues(Const APath : String; List : TStrings);
+    Procedure EnumSubKeys(Const APath : UnicodeString; List : TStrings);
+    Procedure EnumValues(Const APath : UnicodeString; List : TStrings);
 
 
     function  GetValue(const APath: UnicodeString; const ADefault: UnicodeString): UnicodeString; overload;
     function  GetValue(const APath: UnicodeString; const ADefault: UnicodeString): UnicodeString; overload;
     function  GetValue(const APath: UnicodeString; ADefault: Integer): Integer; overload;
     function  GetValue(const APath: UnicodeString; ADefault: Integer): Integer; overload;
@@ -666,7 +666,7 @@ begin
   FKey:=FJSON;
   FKey:=FJSON;
 end;
 end;
 
 
-procedure TJSONConfig.EnumSubKeys(const APath: String; List: TStrings);
+procedure TJSONConfig.EnumSubKeys(const APath: UnicodeString; List: TStrings);
 
 
 Var
 Var
   AKey : TJSONObject;
   AKey : TJSONObject;
@@ -682,7 +682,7 @@ begin
     end;
     end;
 end;
 end;
 
 
-procedure TJSONConfig.EnumValues(const APath: String; List: TStrings);
+procedure TJSONConfig.EnumValues(const APath: UnicodeString; List: TStrings);
 
 
 Var
 Var
   AKey : TJSONObject;
   AKey : TJSONObject;