summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porfld.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-31 15:02:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-03 09:56:51 +0200
commit2e8cc2f51284163a35e0efe22497efb9bdf64317 (patch)
treeb4f9f6d1cd07035460e3cf2a63cf7c0f32e1a118 /sw/source/core/text/porfld.cxx
parentaeff83240c88435d11590f5e9c6fe9927a508c6a (diff)
use less magic in sw/
rename the "magic" members and fields that are actually a font-cache-id, to more useful names Change-Id: Ie787b0939115c576e979c7e27a21a68c138c32f6 Reviewed-on: https://gerrit.libreoffice.org/59868 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/text/porfld.cxx')
-rw-r--r--sw/source/core/text/porfld.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index 818a15d8e26f..f1fd08a76cb4 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -317,7 +317,7 @@ bool SwFieldPortion::Format( SwTextFormatInfo &rInf )
rInf.SetUnderScorePos( rInf.GetIdx() );
if( m_pFont )
- m_pFont->GoMagic( rInf.GetVsh(), m_pFont->GetActual() );
+ m_pFont->AllocFontCacheId( rInf.GetVsh(), m_pFont->GetActual() );
SwFontSave aSave( rInf, m_pFont.get() );