summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-10-01 14:02:22 +0300
committerTor Lillqvist <tml@collabora.com>2015-10-01 14:39:46 +0300
commit33a7c0d088fe4f4114dc722ba29162ba5c8dce1d (patch)
tree082f7e01965bdb6ca3972b5f71714b9ff248a4bd /sw
parentecf5384f754c2140bf14579d97585e634e1a14a9 (diff)
WaE: loplugin:bodynotinblock
Change-Id: Ie14bd84dbf6606506ed8a47fea660c15a7852679
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 9dc11dbd2a54..aadec7eef0d6 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -587,9 +587,8 @@ void SwEditWin::UpdatePointer(const Point &rLPt, sal_uInt16 nModifier )
// which kind of text pointer have we to show - horz / vert - ?
if( PointerStyle::Text == eStyle && rSh.IsInVerticalText( &rLPt ))
eStyle = PointerStyle::TextVertical;
- else
- if (rSh.GetViewOptions()->CanHideWhitespace() &&
- rSh.GetLayout()->IsBetweenPages(rLPt))
+ else if (rSh.GetViewOptions()->CanHideWhitespace() &&
+ rSh.GetLayout()->IsBetweenPages(rLPt))
{
if (rSh.GetViewOptions()->IsHideWhitespaceMode())
eStyle = PointerStyle::ShowWhitespace;