Browse Source

* Changed SaveAs to SaveToFile

git-svn-id: trunk@27796 -
michael 11 years ago
parent
commit
9916cd839b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      packages/fcl-xml/src/xmlconf.pp

+ 3 - 3
packages/fcl-xml/src/xmlconf.pp

@@ -76,7 +76,7 @@ type
     procedure OpenKey(const aPath: DOMString);
     procedure CloseKey;
     procedure ResetKey;
-    procedure SaveAs(AFileName: string);
+    procedure SaveToFile(AFileName: string);
 
     function  GetValue(const APath: DOMString; const ADefault: DOMString): DOMString; overload;
     function  GetValue(const APath: DOMString; ADefault: Integer): Integer; overload;
@@ -131,11 +131,11 @@ procedure TXMLConfig.Flush;
 begin
   if Modified and not FReadOnly then
   begin
-    SaveAs(FFilename)
+    SaveToFile(FFilename)
   end;
 end;
 
-procedure TXMLConfig.SaveAs(AFileName: string);
+procedure TXMLConfig.SaveToFile(AFileName: string);
 begin
   if AFileName <> '' then
   begin