summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2020-05-27 18:15:26 +0200
committerLászló Németh <nemeth@numbertext.org>2020-05-31 23:12:44 +0200
commitc87c7ddca46ae093a703ca673a204e4593402c38 (patch)
tree50ef0d5b9d9d739c473ce61cf74551d583fc8946 /include
parent3bfae06d78df8d79a3216115dccd8885a10bf0b2 (diff)
AutoCorrect: clean-up InsertQuote
Change-Id: I577115805e5bcc29f6eb4d853aaa523495f30126 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95211 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index df6a3214792b..708c25adb52a 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -80,6 +80,13 @@ namespace o3tl {
template<> struct typed_flags<ACFlags> : is_typed_flags<ACFlags, 0xe0003fff> {};
}
+enum class ACQuotes
+{
+ NONE,
+ NonBreakingSpace,
+ CapitalizeIAm,
+};
+
// TODO: handle code points > U+FFFF and check users of this class
// only a mapping class
@@ -324,7 +331,8 @@ public:
OUString GetQuote( SvxAutoCorrDoc const & rDoc, sal_Int32 nInsPos,
sal_Unicode cInsChar, bool bSttQuote );
void InsertQuote( SvxAutoCorrDoc& rDoc, sal_Int32 nInsPos,
- sal_Unicode cInsChar, bool bSttQuote, bool bIns, bool b_iApostrophe ) const;
+ sal_Unicode cInsChar, bool bSttQuote, bool bIns,
+ LanguageType eLang, ACQuotes eType ) const;
// Query/Set the name of the AutoCorrect file
// the default is "autocorr.dat"