diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:33:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-24 12:36:29 +0200 |
commit | 24df2bd5cb68f8de5e22a27f6a3505d099bc3581 (patch) | |
tree | 1b7d12fd9658bd0942c350d86f4ddda3f69b2a3f /svx/source/table/svdotable.cxx | |
parent | b0d9184ad2dab26e7ee17d8c0ace9f5e5e753026 (diff) |
loplugin:simplifybool
Change-Id: I02bc964fd2b240fb5238e3de72239d410587ae5c
Diffstat (limited to 'svx/source/table/svdotable.cxx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 7270573c2529..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) { |