summaryrefslogtreecommitdiff
path: root/sd/qa/unit/misc-tests.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/qa/unit/misc-tests.cxx')
-rw-r--r--sd/qa/unit/misc-tests.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx
index fca399a360a8..8dc23c0295a3 100644
--- a/sd/qa/unit/misc-tests.cxx
+++ b/sd/qa/unit/misc-tests.cxx
@@ -865,12 +865,14 @@ void SdMiscTest::testTdf129898LayerDrawnInSlideshow()
SdrLayerAdmin& rLayerAdmin = xDocShRef->GetDoc()->GetLayerAdmin();
SdrLayer* pLayer = rLayerAdmin.GetLayer(sName);
CPPUNIT_ASSERT_MESSAGE("No layer DrawnInSlideshow", pLayer);
- CPPUNIT_ASSERT(pLayer->IsVisibleODF() && pLayer->IsPrintableODF());
+ CPPUNIT_ASSERT(pLayer->IsVisibleODF());
+ CPPUNIT_ASSERT(pLayer->IsPrintableODF());
// Verify view
sd::DrawViewShell* pViewShell = static_cast<sd::DrawViewShell*>(xDocShRef->GetViewShell());
SdrPageView* pPageView = pViewShell->GetView()->GetSdrPageView();
- CPPUNIT_ASSERT(pPageView->IsLayerVisible(sName) && pPageView->IsLayerPrintable(sName));
+ CPPUNIT_ASSERT(pPageView->IsLayerVisible(sName));
+ CPPUNIT_ASSERT(pPageView->IsLayerPrintable(sName));
xDocShRef->DoClose();
}