diff options
Diffstat (limited to 'sw/qa/extras/uiwriter/uiwriter.cxx')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 48a0477cd67b..76cc659805dd 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -4069,7 +4069,7 @@ void SwUiWriterTest::testTdf94804() IDocumentMarkAccess::MarkType::CROSSREF_HEADING_BOOKMARK, ::sw::mark::InsertMode::New)); //get the new(autogenerated) bookmark name - rtl::OUString bookmark1name = pMark1->GetName(); + OUString bookmark1name = pMark1->GetName(); //match the bookmark name, it should be like "__RefHeading__**" CPPUNIT_ASSERT(bookmark1name.match("__RefHeading__")); //make second bookmark, CROSSREF_NUMITEM, with *empty* name @@ -4077,7 +4077,7 @@ void SwUiWriterTest::testTdf94804() IDocumentMarkAccess::MarkType::CROSSREF_NUMITEM_BOOKMARK, ::sw::mark::InsertMode::New)); //get the new(autogenerated) bookmark name - rtl::OUString bookmark2name = pMark2->GetName(); + OUString bookmark2name = pMark2->GetName(); //match the bookmark name, it should be like "__RefNumPara__**" CPPUNIT_ASSERT(bookmark2name.match("__RefNumPara__")); } |