소스 검색

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