diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-29 17:37:49 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2016-07-12 22:06:14 -0400 |
commit | 2c8197dfbf5748aee3d729dee22fd15510470ca4 (patch) | |
tree | 542df01929ef89f9abe6b3118ca693d54dafe5a5 /sd/qa | |
parent | 762fc1871654cf7a18c91484948ed49ca2f2f98c (diff) |
Change-Id: I95f069cb3efa7137c9382c9d9eb6d1353471d28e
Reviewed-on: https://gerrit.libreoffice.org/24498
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit c30b5d2a382162be94e6a6ac5d5794a074ebfaaa)
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/misc-tests.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx index bdda086d930c..3c18fcf0f36d 100644 --- a/sd/qa/unit/misc-tests.cxx +++ b/sd/qa/unit/misc-tests.cxx @@ -164,6 +164,7 @@ void SdMiscTest::testTdf99396() // Set the vertical alignment of the cells to bottom. sdr::table::SvxTableController* pTableController = dynamic_cast<sdr::table::SvxTableController*>(pView->getSelectionController().get()); + CPPUNIT_ASSERT(pTableController); SfxRequest aRequest(pViewShell->GetViewFrame(), SID_TABLE_VERT_BOTTOM); pTableController->Execute(aRequest); // This was 0, it wasn't possible to undo a vertical alignment change. @@ -180,6 +181,7 @@ void SdMiscTest::testTdf99396TextEdit() SdPage* pPage = pViewShell->GetActualPage(); SdrObject* pObject = pPage->GetObj(0); auto pTableObject = dynamic_cast<sdr::table::SdrTableObj*>(pObject); + CPPUNIT_ASSERT(pTableObject); SdrView* pView = pViewShell->GetView(); pView->MarkObj(pObject, pView->GetSdrPageView()); @@ -201,6 +203,7 @@ void SdMiscTest::testTdf99396TextEdit() } { auto pTableController = dynamic_cast<sdr::table::SvxTableController*>(pView->getSelectionController().get()); + CPPUNIT_ASSERT(pTableController); SfxRequest aRequest(pViewShell->GetViewFrame(), SID_TABLE_VERT_BOTTOM); pTableController->Execute(aRequest); } |