diff options
author | Philipp Weissenbacher <p.weissenbacher@gmail.com> | 2013-03-26 15:47:41 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-26 15:09:10 +0000 |
commit | a5fef4aff586c053486116bcc34cea084457b5e5 (patch) | |
tree | 2b8aa247e1b2d7c74b3fd5de303a330eb132339c /vcl/source/gdi/bmpacc3.cxx | |
parent | 705f0bb3280b53b4bb789a27f011486d834a01ea (diff) |
Translate German comments, clean up some WS
Change-Id: I1a6a99bb8efe8c3d10973c255040fbbf0f76f27d
Reviewed-on: https://gerrit.libreoffice.org/3057
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
Diffstat (limited to 'vcl/source/gdi/bmpacc3.cxx')
-rw-r--r-- | vcl/source/gdi/bmpacc3.cxx | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/vcl/source/gdi/bmpacc3.cxx b/vcl/source/gdi/bmpacc3.cxx index 935ca1eda805..49d971c46e8a 100644 --- a/vcl/source/gdi/bmpacc3.cxx +++ b/vcl/source/gdi/bmpacc3.cxx @@ -27,10 +27,6 @@ #include <bmpfast.hxx> -// --------------------- -// - BitmapWriteAccess - -// --------------------- - void BitmapWriteAccess::SetLineColor( const Color& rColor ) { delete mpLineColor; @@ -41,8 +37,6 @@ void BitmapWriteAccess::SetLineColor( const Color& rColor ) mpLineColor = ( HasPalette() ? new BitmapColor( (sal_uInt8) GetBestPaletteIndex( rColor ) ) : new BitmapColor( rColor ) ); } -// ------------------------------------------------------------------ - void BitmapWriteAccess::SetFillColor( const Color& rColor ) { delete mpFillColor; @@ -53,8 +47,6 @@ void BitmapWriteAccess::SetFillColor( const Color& rColor ) mpFillColor = ( HasPalette() ? new BitmapColor( (sal_uInt8) GetBestPaletteIndex( rColor ) ) : new BitmapColor( rColor ) ); } -// ------------------------------------------------------------------ - void BitmapWriteAccess::Erase( const Color& rColor ) { // convert the color format from RGB to palette index if needed @@ -77,8 +69,6 @@ void BitmapWriteAccess::Erase( const Color& rColor ) mpFillColor = pOldFillColor; } -// ------------------------------------------------------------------ - void BitmapWriteAccess::DrawLine( const Point& rStart, const Point& rEnd ) { if( mpLineColor ) @@ -88,7 +78,7 @@ void BitmapWriteAccess::DrawLine( const Point& rStart, const Point& rEnd ) if ( rStart.X() == rEnd.X() ) { - // vertikale Line + // Vertical Line const long nEndY = rEnd.Y(); nX = rStart.X(); @@ -107,7 +97,7 @@ void BitmapWriteAccess::DrawLine( const Point& rStart, const Point& rEnd ) } else if ( rStart.Y() == rEnd.Y() ) { - // horizontale Line + // Horizontal Line const long nEndX = rEnd.X(); nX = rStart.X(); @@ -215,8 +205,6 @@ void BitmapWriteAccess::DrawLine( const Point& rStart, const Point& rEnd ) } } -// ------------------------------------------------------------------ - void BitmapWriteAccess::FillRect( const Rectangle& rRect ) { if( mpFillColor ) @@ -241,8 +229,6 @@ void BitmapWriteAccess::FillRect( const Rectangle& rRect ) } } -// ------------------------------------------------------------------ - void BitmapWriteAccess::DrawRect( const Rectangle& rRect ) { if( mpFillColor ) |