Kaydet (Commit) ccf3a060 authored tarafından Jim Raykowski's avatar Jim Raykowski Kaydeden (comit) Jim Raykowski

tdf#104204 Keep selection when context menu is opened on extended row

Change-Id: I5a94f7bcf90e5831fc63d3f8ad83278e425417eb
Reviewed-on: https://gerrit.libreoffice.org/72159
Tested-by: Jenkins
Reviewed-by: 's avatarJim Raykowski <raykowj@gmail.com>
üst 773ac3ab
......@@ -59,6 +59,8 @@
#include <paintfrm.hxx>
#include <PostItMgr.hxx>
#include <cellfrm.hxx>
// Here static members are defined. They will get changed on alteration of the
// MapMode. This is done so that on ShowCursor the same size does not have to be
// expensively determined again and again.
......@@ -843,6 +845,12 @@ bool SwShellTableCursor::IsInside( const Point& rPt ) const
OSL_ENSURE( pFrame, "Node not in a table" );
if( pFrame && pFrame->getFrameArea().IsInside( rPt ) )
return true;
for ( SwCellFrame* pCellFrame = static_cast<SwCellFrame*>(pFrame); pCellFrame; pCellFrame = pCellFrame->GetFollowCell() )
{
if( pCellFrame->getFrameArea().IsInside( rPt ) )
return true;
}
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment