summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-09-01 19:02:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-09-02 12:39:08 +0200
commitb467c7a12bd5e5e2862a8c018a2135635dcc50cb (patch)
tree6008880e7966ae442599f45891f68c04af4af9d4 /include
parentd0176d65de40b1ea53b4fcbc0f607911fa64d8e5 (diff)
no need to use unique_ptr for this map in SvxAutoCorrect
map is already a node based data structure, so the values will stay in the same place in memory Change-Id: I26ac04787a3b36feebd574687710b3a2b6864c0e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 7483e83c127a..d3d7aacbd0a9 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -252,7 +252,7 @@ class EDITENG_DLLPUBLIC SvxAutoCorrect
SvxSwAutoFormatFlags aSwFlags; // StarWriter AutoFormat Flags
// all languages in a table
- std::map<LanguageTag, std::unique_ptr<SvxAutoCorrectLanguageLists>> m_aLangTable;
+ std::map<LanguageTag, SvxAutoCorrectLanguageLists> m_aLangTable;
std::map<LanguageTag, sal_Int64> aLastFileTable;
std::unique_ptr<CharClass> pCharClass;