diff options
author | László Németh <nemeth@numbertext.org> | 2021-06-14 09:22:35 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2021-07-03 17:25:44 +0200 |
commit | f5ff7a967b09a715c56630aff92cfb636e7c232b (patch) | |
tree | a1ce6be8aa7037ecad6cc3599240285ca9d8e3af /editeng/inc | |
parent | 35dd9c4f38dd2019e18f97d8a08ce5bb9b69a4fb (diff) |
tdf#143176 Old Hungarian transliteration: fix AutoCorrect->Apply
and "Apply and Edit Changes".
Transliteration worked only during typing, because
AutoCorrect->Apply and "Apply and Edit Changes" remove
right-to-left text direction silently, which resulted
missing transliteration of text (with Default Paragraph
Style and right-to-left direction) to Old Hungarian.
Change-Id: I1481d958494828b6dce66f2eeecb44b327c70db4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118346
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/edtspell.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/inc/edtspell.hxx b/editeng/inc/edtspell.hxx index 91e2218dad06..3332fce4e1e6 100644 --- a/editeng/inc/edtspell.hxx +++ b/editeng/inc/edtspell.hxx @@ -131,7 +131,8 @@ public: virtual bool ChgAutoCorrWord( sal_Int32& rSttPos, sal_Int32 nEndPos, SvxAutoCorrect& rACorrect, OUString* pPara ) override; - virtual bool TransliterateRTLWord( sal_Int32& rSttPos, sal_Int32 nEndPos ) override; + virtual bool TransliterateRTLWord( sal_Int32& rSttPos, sal_Int32 nEndPos, + bool bApply = false ) override; virtual LanguageType GetLanguage( sal_Int32 nPos ) const override; |