diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-09-28 09:06:38 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-09-28 11:57:03 +0200 |
commit | 97bc09c1fef52c45cf299868045d250838d8e89b (patch) | |
tree | b56e7f83363b0cd9673ab25e3ccd61e925cebd2b /sw/qa/extras | |
parent | b8bf1e11c55c0422a6f83d91376b93564c9c0d11 (diff) |
sw: prefix members of SwFrameChangesLeave, SwSidebarItem, ...
... SwSizeEnterLeave and SwTextAPIObject
See tdf#94879 for motivation.
Change-Id: Iea12ac975b68700488f7b39bbb3596a011159c61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103528
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/qa/extras')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 4 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter2.cxx | 2 | ||||
-rw-r--r-- | sw/qa/extras/unowriter/unowriter.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index 5e5470507693..fd95bddfb94d 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -4517,10 +4517,10 @@ void SwUiWriterTest::testTdf89720() SwPostItMgr* pPostItMgr = pView->GetPostItMgr(); for (std::unique_ptr<SwSidebarItem> const & pItem : *pPostItMgr) { - if (pItem->pPostIt->IsFollow()) + if (pItem->mpPostIt->IsFollow()) // This was non-0: reply comments had a text range overlay, // resulting in unexpected dark color. - CPPUNIT_ASSERT(!pItem->pPostIt->TextRange()); + CPPUNIT_ASSERT(!pItem->mpPostIt->TextRange()); } } diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx index a6efc4a5ee60..334698e7c693 100644 --- a/sw/qa/extras/uiwriter/uiwriter2.cxx +++ b/sw/qa/extras/uiwriter/uiwriter2.cxx @@ -2283,7 +2283,7 @@ CPPUNIT_TEST_FIXTURE(SwUiWriterTest2, testImageComment) SwPostItMgr* pPostItMgr = pView->GetPostItMgr(); for (const auto& pItem : *pPostItMgr) { - const SwRect& rAnchor = pItem->pPostIt->GetAnchorRect(); + const SwRect& rAnchor = pItem->mpPostIt->GetAnchorRect(); CPPUNIT_ASSERT_EQUAL(nFrameLeft, rAnchor.Left()); } diff --git a/sw/qa/extras/unowriter/unowriter.cxx b/sw/qa/extras/unowriter/unowriter.cxx index 1322c89a3214..5d17fc33a1f5 100644 --- a/sw/qa/extras/unowriter/unowriter.cxx +++ b/sw/qa/extras/unowriter/unowriter.cxx @@ -746,7 +746,7 @@ CPPUNIT_TEST_FIXTURE(SwUnoWriter, testImageCommentAtChar) SwPostItMgr* pPostItMgr = pView->GetPostItMgr(); for (const auto& pItem : *pPostItMgr) { - const SwRect& rAnchor = pItem->pPostIt->GetAnchorRect(); + const SwRect& rAnchor = pItem->mpPostIt->GetAnchorRect(); CPPUNIT_ASSERT_GREATEREQUAL(static_cast<long>(5892), rAnchor.Left()); } } |