diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 20:53:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-26 10:37:19 +0200 |
commit | 3b90faa9c51791d01bef69ac6924a71e869f25d7 (patch) | |
tree | 693182199a9244daad12f5d3639adb8e182c4208 /sw/qa | |
parent | 16180641a5e0b7a990ec10bbf92e3639b5ee2ee2 (diff) |
SwEditShell functions that really want to return bool
but just couldn't, because they were too shy, so they went to
ToastMasters, and now they are all grown up and can bool all the day
long
Change-Id: Id06e0791ec3c930be8a165cc7b05ce4f0c8f7499
Reviewed-on: https://gerrit.libreoffice.org/53462
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa')
-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 05478b782488..e729ccf06816 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -2407,8 +2407,8 @@ void SwUiWriterTest::testTdf60967() pCursor->Move(fnMoveBackward); SwPosition aPosInTable(*(pCursor->GetPoint())); //deleting paragraph following table with Ctrl+Shift+Del - sal_Int32 val = pWrtShell->DelToEndOfSentence(); - CPPUNIT_ASSERT_EQUAL(sal_Int32(1), val); + bool val = pWrtShell->DelToEndOfSentence(); + CPPUNIT_ASSERT_EQUAL(true, val); //getting the cursor's position just after the paragraph deletion SwPosition aPosAfterDel(*(pCursor->GetPoint())); //moving cursor forward to check whether there is any node following the table, BTW there should not be any such node |