[Libreoffice-commits] core.git: editeng/source include/editeng
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Mon Oct 7 12:22:10 UTC 2019
editeng/source/misc/svxacorr.cxx | 2 +-
include/editeng/svxacorr.hxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c6ff059c740eca004966aef0842ee74760368b95
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Oct 7 10:22:05 2019 +0200
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Mon Oct 7 14:21:26 2019 +0200
InsertQuote can be const
Change-Id: I57b50e72b68b71406d1745304d24b52d75b3d082
Reviewed-on: https://gerrit.libreoffice.org/80342
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
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"
More information about the Libreoffice-commits
mailing list