diff options
author | Eike Rathke <erack@redhat.com> | 2017-12-15 21:40:28 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-16 01:41:42 +0100 |
commit | 2557c07688bdf5a37980503d051c5f75e8d33d80 (patch) | |
tree | c6dbf969d04570f0e5afd68a53ff6daf44b6f45a /include/svl | |
parent | Blacklist CELL() and INFO() for threading (diff) | |
download | core-2557c07688bdf5a37980503d051c5f75e8d33d80.tar.gz core-2557c07688bdf5a37980503d051c5f75e8d33d80.zip |
Move init of keywords around, preset with English, localized case by case
This way we can't forget an sKeyword element and need to care only
about the exceptions. Adds a slight penalty for German in that it
has 25 keywords initialized twice, but..
Change-Id: I99ba228ef8b1517a32ce98a9c79cfbe2b1d0b340
Reviewed-on: https://gerrit.libreoffice.org/46575
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/nfkeytab.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svl/nfkeytab.hxx b/include/svl/nfkeytab.hxx index 458e400ea6ab..ddffc030d482 100644 --- a/include/svl/nfkeytab.hxx +++ b/include/svl/nfkeytab.hxx @@ -120,6 +120,12 @@ public: const OUString & operator[] (Keywords_t::size_type n) const { return m_keywords[n]; } Keywords_t::size_type size() const { return m_keywords.size(); } + + NfKeywordTable& operator=( const NfKeywordTable& r ) + { + m_keywords = r.m_keywords; + return *this; + } }; #endif // INCLUDED_SVL_NFKEYTAB_HXX |