detect * with no character following as invalid format code
... so adding it to the list in Format Numbers using the checkmark button is not possible. Change-Id: I57ca6a7a3617583a82a99c87291373b1fe4e246d
This commit is contained in:
parent
8fa219fbb5
commit
bf674ab0f3
1 changed files with 5 additions and 0 deletions
|
@ -933,6 +933,11 @@ sal_Int32 ImpSvNumberformatScan::Symbol_Division(const OUString& rString)
|
|||
}
|
||||
else
|
||||
{
|
||||
// Valid only if there is a character following, else we are
|
||||
// at the end of a code that does not have a fill character
|
||||
// (yet?).
|
||||
if (sStrArray[nAnzStrings].getLength() < 2)
|
||||
return nPos;
|
||||
bStar = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue