diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 10:51:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-03 20:24:22 +0200 |
commit | 95dea4ab712516e4cb51dc18be9031548460a81a (patch) | |
tree | fcbbc43f9a8a1b097321029f6b5722c4dac17449 /vcl | |
parent | b2edef8b437d0d885708c7d7f6a8da07b2f1f225 (diff) |
rename NeedFallback to AddFallbackRun
Change-Id: I5d91e7b28075026198444036fbfc220296deac77
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121579
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/sallayout.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/CommonSalLayout.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx index 8b5f41062e62..2608044d592f 100644 --- a/vcl/inc/sallayout.hxx +++ b/vcl/inc/sallayout.hxx @@ -109,7 +109,7 @@ public: bool GetNextPos( int* nCharPos, bool* bRTL ) { return maRuns.GetNextPos( nCharPos, bRTL ); } bool GetNextRun( int* nMinRunPos, int* nEndRunPos, bool* bRTL ); - void NeedFallback( int nMinRunPos, int nEndRunPos, bool bRTL ) + void AddFallbackRun( int nMinRunPos, int nEndRunPos, bool bRTL ) { maFallbackRuns.AddRun( nMinRunPos, nEndRunPos, bRTL ); } // methods used by BiDi and glyph fallback bool HasFallbackRun() const diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx index f21c2f572d25..5f0c9637a7d2 100644 --- a/vcl/source/gdi/CommonSalLayout.cxx +++ b/vcl/source/gdi/CommonSalLayout.cxx @@ -187,7 +187,7 @@ void GenericSalLayout::SetNeedFallback(ImplLayoutArgs& rArgs, sal_Int32 nCharPos mxBreak->previousCharacters(rArgs.mrStr, nCharPos, aLocale, i18n::CharacterIteratorMode::SKIPCELL, 1, nDone); - rArgs.NeedFallback(nGraphemeStartPos, nGraphemeEndPos, bRightToLeft); + rArgs.AddFallbackRun(nGraphemeStartPos, nGraphemeEndPos, bRightToLeft); } void GenericSalLayout::AdjustLayout(ImplLayoutArgs& rArgs) |