Fix typo
Change-Id: I500b02954de8ed0897a9e6b7ba0e77252a171085 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136824 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
02c5c0288a
commit
f2af1527c6
@@ -411,7 +411,7 @@ void SwTextCursor::AddExtraBlankWidth()
|
||||
{
|
||||
pNextPos = pPos->GetNextPortion();
|
||||
// Do it only if it is the last portion that able to handle the cursor,
|
||||
// else the next portion would misscalculate the cursor position
|
||||
// else the next portion would miscalculate the cursor position
|
||||
if (pPos->ExtraBlankWidth() && (!pNextPos || pNextPos->IsMarginPortion()))
|
||||
{
|
||||
pPos->Width(pPos->Width() + pPos->ExtraBlankWidth());
|
||||
|
||||
Reference in New Issue
Block a user