diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-25 14:57:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-27 09:04:51 +0000 |
commit | 0107e13069f12cb8a27353e2028bb7513da524e8 (patch) | |
tree | dea3e5a636bcca63e3f7370aa177fbe661994119 /sw/qa/extras/odfimport | |
parent | e577882476f141d94cede91224805d7a6b009cf7 (diff) |
convert spell menu to .ui
This reverts commit 73f2944618e637762125fabd214b09b4fa50fb90.
Change-Id: Idddd89869d1670cf71e932ccd4dbface30c730d9
Diffstat (limited to 'sw/qa/extras/odfimport')
-rw-r--r-- | sw/qa/extras/odfimport/odfimport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 3aae77683b84..9572e7f4dba4 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -663,8 +663,8 @@ DECLARE_ODFIMPORT_TEST(testSpellmenuRedline, "spellmenu-redline.odt") // Make sure that if we show the spellcheck popup menu (for the current // document, which contains redlines), then the last two entries will be // always 'go to next/previous change'. - CPPUNIT_ASSERT_EQUAL(sal_uInt16(FN_REDLINE_NEXT_CHANGE), rMenu.GetItemId(rMenu.GetItemCount() - 2)); - CPPUNIT_ASSERT_EQUAL(sal_uInt16(FN_REDLINE_PREV_CHANGE), rMenu.GetItemId(rMenu.GetItemCount() - 1)); + CPPUNIT_ASSERT_EQUAL(OString("next"), rMenu.GetItemIdent(rMenu.GetItemId(rMenu.GetItemCount() - 2))); + CPPUNIT_ASSERT_EQUAL(OString("prev"), rMenu.GetItemIdent(rMenu.GetItemId(rMenu.GetItemCount() - 1))); } DECLARE_ODFIMPORT_TEST(testAnnotationFormatting, "annotation-formatting.odt") |