diff options
-rw-r--r-- | bean/com/sun/star/comp/beans/LocalOfficeConnection.java | 1 | ||||
-rw-r--r-- | sd/qa/unit/misc-tests.cxx | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index c2d17b7c0e33..6132b7624fab 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -310,6 +310,7 @@ public class LocalOfficeConnection Object aInitialObject = null; try { + System.out.println("debug, LocalOfficeConnection: mURL is '"+mURL+"'"); aInitialObject = resolve(xLocalContext, mURL); } catch( com.sun.star.connection.NoConnectException e ) diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx index f2ac807f1bab..bc73b5f33a21 100644 --- a/sd/qa/unit/misc-tests.cxx +++ b/sd/qa/unit/misc-tests.cxx @@ -162,6 +162,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. @@ -178,6 +179,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()); @@ -199,6 +201,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); } |