Fixed a copy paste error in a comment

Change-Id: Ibcd4c2f0cccb233647f3b079f02d01f156d30138
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144818
Tested-by: Jenkins
Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
This commit is contained in:
Andreas Heinisch
2022-12-25 18:19:09 +01:00
parent 6fb682487e
commit e431417aa6

View File

@@ -668,7 +668,7 @@ PrevLineCommentLbl:
bPrevLineExtentsComment = false;
aSym = "REM";
sal_Int32 nLen = aLine.getLength() - nLineIdx;
// tdf#149402 - don't extend comment if line ends in a whitespace (asicCharClass::isWhitespace)
// tdf#149402 - don't extend comment if line ends in a whitespace (BasicCharClass::isWhitespace)
if (bCompatible && !bLineEndsWithWhitespace && aLine[nLineIdx + nLen - 1] == '_'
&& aLine[nLineIdx + nLen - 2] == ' ')
bPrevLineExtentsComment = true;