summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 17:52:23 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 17:59:40 +0100
commit4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87 (patch)
treec158b93b176b084eac024c0e3b5e94e18911f50f /basctl
parente39c551c6133d0ff2b7074f64ea66563ebcce14b (diff)
loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedfunc.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx
index a53d68a1f46a..e13977183604 100644
--- a/basctl/source/dlged/dlgedfunc.cxx
+++ b/basctl/source/dlged/dlgedfunc.cxx
@@ -61,14 +61,12 @@ void DlgEdFunc::ForceScroll( const Point& rPos )
{
if( rPos.X() < aOutRect.Left() )
nDeltaX = -nDeltaX;
- else
- if( rPos.X() <= aOutRect.Right() )
+ else if( rPos.X() <= aOutRect.Right() )
nDeltaX = 0;
if( rPos.Y() < aOutRect.Top() )
nDeltaY = -nDeltaY;
- else
- if( rPos.Y() <= aOutRect.Bottom() )
+ else if( rPos.Y() <= aOutRect.Bottom() )
nDeltaY = 0;
if( nDeltaX )