summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/cellfml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/cellfml.cxx')
-rw-r--r--sw/source/core/fields/cellfml.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx
index d99d39c81dc9..e5971f552bfb 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -930,7 +930,8 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox,
const SwLayoutFrame *pStt, *pEnd;
const SwFrame* pFrame = lcl_GetBoxFrame( rSttBox );
pStt = pFrame ? pFrame->GetUpper() : nullptr;
- pEnd = ( nullptr != (pFrame = lcl_GetBoxFrame( rEndBox ))) ? pFrame->GetUpper() : nullptr;
+ pFrame = lcl_GetBoxFrame( rEndBox );
+ pEnd = pFrame ? pFrame->GetUpper() : nullptr;
if( !pStt || !pEnd )
return ; // no valid selection