diff options
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index f2b4692a327a..c949cc6b9012 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -519,7 +519,7 @@ void SdrTableObjImpl::DragEdge( bool mbHorizontal, int nEdge, sal_Int32 nOffset //Todo: Implement Dragging functionality for leftmost edge of table. if( (nEdge >= 0) && (nEdge <= getColumnCount()) ) { - const bool bRTL = !mpTableObj? false: (mpTableObj->GetWritingMode() == WritingMode_RL_TB); + const bool bRTL = mpTableObj != nullptr && (mpTableObj->GetWritingMode() == WritingMode_RL_TB); sal_Int32 nWidth; if(bRTL) { @@ -814,7 +814,7 @@ bool SdrTableObj::isValid( const CellPos& rPos ) const -CellPos SdrTableObj::getFirstCell() const +CellPos SdrTableObj::getFirstCell() { return CellPos( 0,0 ); } |