diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:08:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:52 +0100 |
commit | 680a5290a0c7c1caf85641251a40664247e83129 (patch) | |
tree | 27147ae47c7a48bf485b3fd2ad0d5a5af1269ef2 /svtools/source/control | |
parent | 99ffbb9dc1c06704f3e259ee9765fbeb408b1629 (diff) |
Use proper bool operations
Change-Id: I758a84205044e51f1af6b18f145e2033f32921e1
Diffstat (limited to 'svtools/source/control')
-rw-r--r-- | svtools/source/control/ruler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index 6b74fdcde375..d4a72f940511 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -1535,7 +1535,7 @@ sal_Bool Ruler::ImplHitTest( const Point& rPos, RulerSelection* pHitTest, nStyle &= RULER_INDENT_STYLE; n1 = mpData->pIndents[i-1].nPos; - if ( (nStyle == RULER_INDENT_BOTTOM) ^ (!bIsHori) ) + if ( (nStyle == RULER_INDENT_BOTTOM) != !bIsHori ) { aRect.Left() = n1-nIndentWidth2; aRect.Right() = n1+nIndentWidth2; |