summaryrefslogtreecommitdiff
path: root/sw/source/core/text/frmcrsr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/frmcrsr.cxx')
-rw-r--r--sw/source/core/text/frmcrsr.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index 91ce85d6a990..b85e4c0d6437 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -45,12 +45,10 @@
#include "swfntcch.hxx"
#include "flyfrm.hxx"
-
#define MIN_OFFSET_STEP 10
using namespace ::com::sun::star;
-
/*
* - SurvivalKit: For how long do we get past the last char of the line.
* - RightMargin abstains from adjusting position with -1
@@ -924,7 +922,6 @@ bool SwTxtFrm::_UnitUp( SwPaM *pPam, const SwTwips nOffset,
return SwCntntFrm::UnitUp( pPam, nOffset, bSetInReadOnly );
}
-//
// Used for Bidi. nPos is the logical position in the string, bLeft indicates
// if left arrow or right arrow was pressed. The return values are:
// nPos: the new visual position
@@ -1115,9 +1112,8 @@ void SwTxtFrm::PrepareVisualMove( sal_Int32& nPos, sal_uInt8& nCrsrLevel,
const bool bVisualRight = ( nDefaultDir == UBIDI_LTR && bForward ) ||
( nDefaultDir == UBIDI_RTL && ! bForward );
- //
// Bidi functions from icu 2.0
- //
+
const sal_Unicode* pLineString = GetTxtNode()->GetTxt().getStr();
UErrorCode nError = U_ZERO_ERROR;