diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-29 10:59:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-29 11:11:29 +0200 |
commit | ee74e401aae0543fd20d80ec4b5c11877e56dafe (patch) | |
tree | c04fa51af8f3bddad408dea7100d839ba3c1214e /sw/source/core/crsr/crsrsh.cxx | |
parent | 4fe23a797291dbf582925ace1392772577506c4e (diff) |
loplugin:unuseddefaultparam in sw (part3)
Change-Id: Ibff7ac9718929349ee7daa3febb0f8fe4a9fa4db
Diffstat (limited to 'sw/source/core/crsr/crsrsh.cxx')
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 88f7fe26727b..9cc500f81700 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -3127,9 +3127,9 @@ bool SwCursorShell::IsInVerticalText( const Point* pPt ) const return FRMDIR_VERT_TOP_RIGHT == nDir || FRMDIR_VERT_TOP_LEFT == nDir; } -bool SwCursorShell::IsInRightToLeftText( const Point* pPt ) const +bool SwCursorShell::IsInRightToLeftText() const { - const short nDir = GetTextDirection( pPt ); + const short nDir = GetTextDirection(); // GetTextDirection uses FRMDIR_VERT_TOP_LEFT to indicate RTL in // vertical environment return FRMDIR_VERT_TOP_LEFT == nDir || FRMDIR_HORI_RIGHT_TOP == nDir; |