diff options
author | Eike Rathke <erack@redhat.com> | 2017-12-14 15:05:36 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-14 19:53:40 +0100 |
commit | 0c13d0fb5774327a5d99fc068803a37f7072b3cf (patch) | |
tree | 150ab0408b87135d95d5b9ad70e090ed3d3d3640 /svl/qa | |
parent | 700e1e7fda6f0a415adbbd5bb190efa5c7435c4f (diff) |
Also EnglishKeywords is a NfKeywordTable, not just some vector
Change-Id: I0683fe5f7632e9941f347773c2679af82421bdc4
Reviewed-on: https://gerrit.libreoffice.org/46455
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svl/qa')
-rw-r--r-- | svl/qa/unit/svl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 15546554fc78..bafb8d13bef9 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1393,7 +1393,7 @@ void Test::testUserDefinedNumberFormats() void Test::testNfEnglishKeywordsIntegrity() { SvNumberFormatter aFormatter(m_xContext, LANGUAGE_ENGLISH_US); - const ::std::vector<OUString> & rEnglishKeywords = aFormatter.GetEnglishKeywords(); + const NfKeywordTable& rEnglishKeywords = aFormatter.GetEnglishKeywords(); const NfKeywordTable& sKeywords = aFormatter.GetKeywords(0); CPPUNIT_ASSERT_EQUAL( size_t(NF_KEYWORD_ENTRIES_COUNT), rEnglishKeywords.size() ); for (size_t i = 0; i < size_t(NF_KEYWORD_ENTRIES_COUNT); ++i) @@ -1478,7 +1478,7 @@ void Test::testStandardColorIntegrity() void Test::testColorNamesConversion() { SvNumberFormatter aFormatter(m_xContext, LANGUAGE_GERMAN); - const ::std::vector<OUString> & rEnglishKeywords = aFormatter.GetEnglishKeywords(); + const NfKeywordTable& rEnglishKeywords = aFormatter.GetEnglishKeywords(); const NfKeywordTable& rKeywords = aFormatter.GetKeywords(0); // Holding a reference to the NfKeywordTable doesn't help if we switch |