summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-03 15:05:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-03 16:05:13 +0100
commitb7f448ded4bd99c92c554e9476f75555ea3e4b42 (patch)
tree1c5894787e948e4a00b419b71e484051fce3606c
parentc3b0c8f4ac0fc7f831eff15c76d1e5a169f92428 (diff)
bool improvements
Change-Id: I2f81497a830c8e1802ffbeeb362cea16e8b731d7
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index 26c724555c5c..8d458e56c055 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1278,7 +1278,7 @@ sal_Bool KDESalGraphics::hitTestNativeControl( ControlType nType, ControlPart nP
{
// make position relative to rControlRegion
Point aPos = rPos - rControlRegion.TopLeft();
- rIsInside = sal_False;
+ rIsInside = false;
sal_Bool bHorizontal = ( nPart == PART_BUTTON_LEFT || nPart == PART_BUTTON_RIGHT );
@@ -1322,7 +1322,7 @@ sal_Bool KDESalGraphics::hitTestNativeControl( ControlType nType, ControlPart nP
{
case PART_BUTTON_LEFT:
if ( !bPlatinumStyle && qRectSubLine.contains( aPos.getX(), aPos.getY() ) )
- rIsInside = sal_True;
+ rIsInside = true;
else if ( bTwoSubButtons )
{
qRectAddLine.setWidth( qRectAddLine.width() / 2 );
@@ -1332,7 +1332,7 @@ sal_Bool KDESalGraphics::hitTestNativeControl( ControlType nType, ControlPart nP
case PART_BUTTON_UP:
if ( !bPlatinumStyle && qRectSubLine.contains( aPos.getX(), aPos.getY() ) )
- rIsInside = sal_True;
+ rIsInside = true;
else if ( bTwoSubButtons )
{
qRectAddLine.setHeight( qRectAddLine.height() / 2 );