summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/fntcache.cxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-18 12:41:47 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-18 17:09:42 +0100
commit21215562cde2378245a3641457c00e5fad82981a (patch)
tree6eeda38665f1ba3f702e94f20179a9cc818bb051 /sw/source/core/txtnode/fntcache.cxx
parent1ac3b903dfb3dfa6dd2282173dc847a324a282d0 (diff)
sw: rename Sperren to CharacterSpacing in code
Sperren is a German typography word related to Sperrsatz, which refers to increased space between characters. German UI calls it Zeichenabstand, English one "Character spacing". The English Wikipedia has an alias "tracking", but that seems as obscure as Sperren for most programmers. Change-Id: I2066bccac5e430b9ac2708559a6f2f262f2dea52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128554 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sw/source/core/txtnode/fntcache.cxx')
-rw-r--r--sw/source/core/txtnode/fntcache.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index c19832743250..cb68f6535635 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -2124,11 +2124,11 @@ Size SwFntObj::GetTextSize( SwDrawTextInfo& rInf )
TextFrameIndex SwFntObj::GetModelPositionForViewPoint(SwDrawTextInfo &rInf)
{
tools::Long nSpaceAdd = rInf.GetSpace() / SPACING_PRECISION_FACTOR;
- const tools::Long nSperren = -rInf.GetSperren() / SPACING_PRECISION_FACTOR;
+ const tools::Long nCharacterSpacing = -rInf.GetCharacterSpacing() / SPACING_PRECISION_FACTOR;
tools::Long nKern = rInf.GetKern();
- if( 0 != nSperren )
- nKern -= nSperren;
+ if( 0 != nCharacterSpacing )
+ nKern -= nCharacterSpacing;
std::vector<sal_Int32> aKernArray;