From dc00592b4e48a111efc6ff78bdbf7af998e58e22 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 16 Sep 2016 10:15:31 +0200 Subject: lok::Document: rename getViews() to getViewsCount() As this only returns the number of views, not the actual views. Since it's a rename, it's just an API (but not an ABI) change. Change-Id: Ib4f0ea56a90e5ae9c80ee1781aa2f29aff4259e7 --- sw/qa/extras/tiledrendering/tiledrendering.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/qa/extras') diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx index d5bcf1da6ce8..69f965c2d8dc 100644 --- a/sw/qa/extras/tiledrendering/tiledrendering.cxx +++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx @@ -897,7 +897,7 @@ void SwTiledRenderingTest::testViewCursorCleanup() // Now destroy the second view. SfxLokHelper::destroyView(nView2); Scheduler::ProcessEventsToIdle(); - CPPUNIT_ASSERT_EQUAL(static_cast(1), SfxLokHelper::getViews()); + CPPUNIT_ASSERT_EQUAL(static_cast(1), SfxLokHelper::getViewsCount()); // Make sure that the graphic view selection on the first view is cleaned up. CPPUNIT_ASSERT(!aView1.m_bGraphicViewSelection); mxComponent->dispose(); -- cgit