ソースを参照

* Fix bug #36510, spelling error. Use ENotImplemented exception for notimplemented

git-svn-id: trunk@43857 -
michael 5 年 前
コミット
561ae7b6fb
1 ファイル変更3 行追加3 行削除
  1. 3 3
      packages/fcl-image/src/fppixlcanv.pp

+ 3 - 3
packages/fcl-image/src/fppixlcanv.pp

@@ -17,7 +17,7 @@ unit FPPixlCanv;
 
 interface
 
-uses classes, FPImage, FPCanvas, PixTools, ellipses;
+uses Sysutils, classes, FPImage, FPCanvas, PixTools, ellipses;
 
 type
 
@@ -63,7 +63,7 @@ const
   PenPatterns : array[psDash..psDashDotDot] of TPenPattern =
     ($EEEEEEEE, $AAAAAAAA, $E4E4E4E4, $EAEAEAEA);
   sErrNoImage:string = 'No brush image specified';
-  sErrNotAvailable:string = 'Not availlable';
+  sErrNotAvailable:string = 'Not available';
 
 implementation
 
@@ -74,7 +74,7 @@ const
 
 procedure NotImplemented;
 begin
-  raise PixelCanvasException.Create(sErrNotAvailable);
+  raise ENotImplemented.Create(sErrNotAvailable);
 end;
 
 constructor TFPPixelCanvas.create;