summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2019-10-07 10:22:05 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2019-10-07 14:21:26 +0200
commitc6ff059c740eca004966aef0842ee74760368b95 (patch)
treef7c6e623746e68b96458f11f814f602ce6f0a5ee
parentbb59923408b38f0b8504df19db443d13e1593dd6 (diff)
InsertQuote can be const
Change-Id: I57b50e72b68b71406d1745304d24b52d75b3d082 Reviewed-on: https://gerrit.libreoffice.org/80342 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--editeng/source/misc/svxacorr.cxx2
-rw-r--r--include/editeng/svxacorr.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 52098a3f0334..1e3f8f680194 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1181,7 +1181,7 @@ sal_Unicode SvxAutoCorrect::GetQuote( sal_Unicode cInsChar, bool bSttQuote,
void SvxAutoCorrect::InsertQuote( SvxAutoCorrDoc& rDoc, sal_Int32 nInsPos,
sal_Unicode cInsChar, bool bSttQuote,
- bool bIns, bool b_iApostrophe )
+ bool bIns, bool b_iApostrophe ) const
{
const LanguageType eLang = GetDocLanguage( rDoc, nInsPos );
sal_Unicode cRet = GetQuote( cInsChar, bSttQuote, eLang );
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index c9c9bdee9677..5803938ce966 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -319,7 +319,7 @@ 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 );
+ sal_Unicode cInsChar, bool bSttQuote, bool bIns, bool b_iApostrophe ) const;
// Query/Set the name of the AutoCorrect file
// the default is "autocorr.dat"