diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:59:13 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:19 +0100 |
commit | c1d37365c42a0627a66310c46d4beb2337633654 (patch) | |
tree | 5eccb263b481a3112c8d400054120cbd5db2963f /vcl/source/gdi/outdev4.cxx | |
parent | 946f6132f9172fc7f79a1d99051011426767bf90 (diff) |
bool improvements
Change-Id: Iede12ed1e35581cf48d64b898f22949d0c1aa6de
Diffstat (limited to 'vcl/source/gdi/outdev4.cxx')
-rw-r--r-- | vcl/source/gdi/outdev4.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/outdev4.cxx b/vcl/source/gdi/outdev4.cxx index c101ccc186b8..a18ce193dfde 100644 --- a/vcl/source/gdi/outdev4.cxx +++ b/vcl/source/gdi/outdev4.cxx @@ -660,10 +660,10 @@ void OutputDevice::DrawGradient( const Rectangle& rRect, if ( mbLineColor || mbInitLineColor ) { mpGraphics->SetLineColor(); - mbInitLineColor = sal_True; + mbInitLineColor = true; } - mbInitFillColor = sal_True; + mbInitFillColor = true; // calculate step count if necessary if ( !aGradient.GetSteps() ) @@ -820,10 +820,10 @@ void OutputDevice::DrawGradient( const PolyPolygon& rPolyPoly, if( mbLineColor || mbInitLineColor ) { mpGraphics->SetLineColor(); - mbInitLineColor = sal_True; + mbInitLineColor = true; } - mbInitFillColor = sal_True; + mbInitFillColor = true; // calculate step count if necessary if ( !aGradient.GetSteps() ) |