sw/source/core/crsr/swcrsr.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit d0cd421833d85e8137688533dfc921e0add89dff
Author: Michael Stahl <[email protected]>
AuthorDate: Wed Feb 28 12:59:12 2024 +0100
Commit: Michael Stahl <[email protected]>
CommitDate: Fri Mar 1 10:28:47 2024 +0100
remove accidentally committed debug comment
Change-Id: If0e445ff6b8ea2308aa14e2b60f32914ca1b795f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164156
Tested-by: Jenkins
Reviewed-by: Michael Stahl <[email protected]>
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index 3f31fd037a5c..63b107f823d8 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -331,7 +331,6 @@ bool SwCursor::IsSelOvr(SwCursorSelOverFlags const eFlags)
if( pNd->IsContentNode() && !dynamic_cast<SwUnoCursor*>(this) )
{
const SwContentFrame* pFrame = static_cast<const
SwContentNode*>(pNd)->getLayoutFrame(
rDoc.getIDocumentLayoutAccess().GetCurrentLayout() );
- // ^ null
if ( (SwCursorSelOverFlags::ChangePos & eFlags) //allowed to change
position if it's a bad one
&& pFrame && pFrame->isFrameAreaDefinitionValid()
&& !pFrame->getFrameArea().Height() //a bad zero height
position