diff options
Diffstat (limited to 'sw/source/core/crsr')
-rw-r--r-- | sw/source/core/crsr/callnk.cxx | 15 | ||||
-rw-r--r-- | sw/source/core/crsr/crsrsh.cxx | 5 | ||||
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 5 |
3 files changed, 12 insertions, 13 deletions
diff --git a/sw/source/core/crsr/callnk.cxx b/sw/source/core/crsr/callnk.cxx index f1f7a3f200ef..81240340376f 100644 --- a/sw/source/core/crsr/callnk.cxx +++ b/sw/source/core/crsr/callnk.cxx @@ -81,19 +81,8 @@ static void lcl_notifyRow(const SwContentNode* pNode, SwCursorShell const & rShe return; const SwTableLine* pLine = pRow->GetTabLine( ); - // Avoid redrawing the complete row if there are no nested tables - for (SwFrame *pCell = pRow->GetLower(); pCell; pCell = pCell->GetNext()) - { - for (SwFrame *pContent = pCell->GetLower(); pContent; pContent = pContent->GetNext()) - { - if (pContent->GetType() == SwFrameType::Tab) - { - SwFormatFrameSize aSize = pLine->GetFrameFormat()->GetFrameSize(); - pRow->ModifyNotification(nullptr, &aSize); - return; - } - } - } + SwFormatFrameSize aSize = pLine->GetFrameFormat()->GetFrameSize(); + pRow->ModifyNotification(nullptr, &aSize); } SwCallLink::~SwCallLink() COVERITY_NOEXCEPT_FALSE diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx index 02ecd2e0033f..00cff9684483 100644 --- a/sw/source/core/crsr/crsrsh.cxx +++ b/sw/source/core/crsr/crsrsh.cxx @@ -2450,6 +2450,11 @@ bool SwCursorShell::SetVisibleCursor( const Point &rPt ) return bRet; } +SwVisibleCursor* SwCursorShell::GetVisibleCursor() const +{ + return m_pVisibleCursor; +} + bool SwCursorShell::IsOverReadOnlyPos( const Point& rPt ) const { Point aPt( rPt ); diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index b11db04d393f..f06a149c34a0 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -243,6 +243,11 @@ void SwVisibleCursor::SetPosAndShow(SfxViewShell const * pViewShell) } } +const vcl::Cursor& SwVisibleCursor::GetTextCursor() const +{ + return m_aTextCursor; +} + SwSelPaintRects::SwSelPaintRects( const SwCursorShell& rCSh ) : SwRects() , m_pCursorShell( &rCSh ) |