diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-06-18 21:08:03 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-07-05 14:14:08 +0000 |
commit | 1f407caeb3f6e2605973458a545547ed82e7da1c (patch) | |
tree | fdb3562bfd7649aeac1ff4c01eb879b80ba26c29 /include | |
parent | 63e4cd95be982da3b85883cde067b5e06c6e5efb (diff) |
Resolves fdo#79276 Add fallback system for autocorrection of French variants
1) Replace the creation of acor_fr-FR.dat by acor_fr.dat since there's no specific for variants of fr
2) Add a fallback system to use it
Reviewed-on: https://gerrit.libreoffice.org/9825
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Conflicts:
editeng/source/misc/svxacorr.cxx
include/editeng/svxacorr.hxx
sw/source/core/edit/acorrect.cxx
Change-Id: Ia3e11fff0f266839dc148077b50c1b2f798d1c50
Reviewed-on: https://gerrit.libreoffice.org/10065
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/editeng/svxacorr.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 82b76ce86766..0f99d2d8e4d0 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -329,8 +329,9 @@ public: // Query/Set the name of the AutoCorrect file // the default is "autocorr.dat" OUString GetAutoCorrFileName( const LanguageTag& rLanguageTag /* = LANGUAGE_SYSTEM */ , - sal_Bool bNewFile = sal_False, - sal_Bool bTstUserExist = sal_False ) const; + bool bNewFile = false, + bool bTstUserExist = false, + bool bUnlocalized = false ) const; // Query/Set the current settings of AutoCorrect long GetFlags() const { return nFlags; } |