diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 17:52:23 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-02-25 17:59:40 +0100 |
commit | 4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87 (patch) | |
tree | c158b93b176b084eac024c0e3b5e94e18911f50f /basctl | |
parent | remove duplicate line (diff) | |
download | core-4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87.tar.gz core-4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87.zip |
loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/dlged/dlgedfunc.cxx | 6 |
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 ) |