summaryrefslogtreecommitdiff
diff options
authorSimon Chenery <simon_chenery@yahoo.com>2025-04-27 20:06:18 +0200
committerDavid Gilbert <freedesktop@treblig.org>2025-04-28 02:53:23 +0200
commit5d5948cf5e8e65caa14e12ad4e7e90212fdc4a61 (patch)
tree1b3d3640df89eef9ed71ec301b3f3de6ff542a18
parent444f2f7d331464d9628b11f409a513b0458c5bae (diff)
Fix comment "last 3 bites" to "last 3 bits" in op.cxx
Change-Id: I3f99bcb542bf025a009b3299d36c660fb3b431a0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184688 Tested-by: Jenkins Reviewed-by: David Gilbert <freedesktop@treblig.org>
-rw-r--r--sc/source/filter/lotus/op.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/lotus/op.cxx b/sc/source/filter/lotus/op.cxx
index eb2822417ec3..c51531b7b45e 100644
--- a/sc/source/filter/lotus/op.cxx
+++ b/sc/source/filter/lotus/op.cxx
@@ -471,7 +471,7 @@ void OP_Note123(LotusContext& rContext, SvStream& r, sal_uInt16 n)
void OP_HorAlign123(LotusContext& /*rContext*/, sal_uInt8 nAlignPattern, SfxItemSet& rPatternItemSet)
{
-// pre: Pattern is stored in the last 3 bites of the 21st byte
+// pre: Pattern is stored in the last 3 bits of the 21st byte
// post: Appropriate Horizontal Alignment is set in rPattern according to the bit pattern.
//
// LEFT:001, RIGHT:010, CENTER:011, JUSTIFY:110,
@@ -504,7 +504,7 @@ void OP_HorAlign123(LotusContext& /*rContext*/, sal_uInt8 nAlignPattern, SfxItem
void OP_VerAlign123(LotusContext& /*rContext*/, sal_uInt8 nAlignPattern, SfxItemSet& rPatternItemSet)
{
-// pre: Pattern is stored in the last 3 bites of the 22nd byte
+// pre: Pattern is stored in the last 3 bits of the 22nd byte
// post: Appropriate Vertical Alignment is set in rPattern according to the bit pattern.
//
// TOP:001, MIDDLE:010, DOWN:100, DEFAULT:000
close