summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/gradient.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /vcl/source/gdi/gradient.cxx
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'vcl/source/gdi/gradient.cxx')
-rw-r--r--vcl/source/gdi/gradient.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/gradient.cxx b/vcl/source/gdi/gradient.cxx
index da4185ebef2d..d8eed8320a27 100644
--- a/vcl/source/gdi/gradient.cxx
+++ b/vcl/source/gdi/gradient.cxx
@@ -265,11 +265,11 @@ Gradient& Gradient::operator=( const Gradient& rGradient )
return *this;
}
-sal_Bool Gradient::operator==( const Gradient& rGradient ) const
+bool Gradient::operator==( const Gradient& rGradient ) const
{
if ( mpImplGradient == rGradient.mpImplGradient )
- return sal_True;
+ return true;
if ( (mpImplGradient->meStyle == rGradient.mpImplGradient->meStyle) &&
(mpImplGradient->mnAngle == rGradient.mpImplGradient->mnAngle) &&
@@ -281,9 +281,9 @@ sal_Bool Gradient::operator==( const Gradient& rGradient ) const
(mpImplGradient->mnIntensityEnd == rGradient.mpImplGradient->mnIntensityEnd) &&
(mpImplGradient->maStartColor == rGradient.mpImplGradient->maStartColor) &&
(mpImplGradient->maEndColor == rGradient.mpImplGradient->maEndColor) )
- return sal_True;
+ return true;
else
- return sal_False;
+ return false;
}
SvStream& ReadImpl_Gradient( SvStream& rIStm, Impl_Gradient& rImpl_Gradient )