[Libreoffice-commits] core.git: sw/source
Tor Lillqvist
tml at collabora.com
Thu Oct 1 04:43:28 PDT 2015
sw/source/uibase/docvw/edtwin.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 33a7c0d088fe4f4114dc722ba29162ba5c8dce1d
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Oct 1 14:02:22 2015 +0300
WaE: loplugin:bodynotinblock
Change-Id: Ie14bd84dbf6606506ed8a47fea660c15a7852679
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index 9dc11db..aadec7e 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;
More information about the Libreoffice-commits
mailing list