diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-05 20:38:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-05 20:39:37 +0000 |
commit | e0cba2a0a837b0d53e813abef3a379b737122c67 (patch) | |
tree | d222126c9ca25142853f37cd664191661e6da002 /sc/source/ui/dbgui | |
parent | 57598da9fa348f09d681b334c8196feb7f23cdb9 (diff) |
coverity#1351877 'Constant' variable guards dead code
and
coverity#1351882 Useless call
sigh, silly me
regression from
commit 2ce227a7642647267c982909a8b3175d22c58b74
Author: Caolán McNamara <caolanm@redhat.com>
Date: Thu Feb 4 09:17:42 2016 +0000
coverity#1351755 Dereference null return value
Change-Id: I6d6841d04f9bba68ec2077d874dcd24edbf4ab6c
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r-- | sc/source/ui/dbgui/PivotLayoutDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/PivotLayoutDialog.cxx b/sc/source/ui/dbgui/PivotLayoutDialog.cxx index d7982a915c96..fb00e3f9e98e 100644 --- a/sc/source/ui/dbgui/PivotLayoutDialog.cxx +++ b/sc/source/ui/dbgui/PivotLayoutDialog.cxx @@ -523,7 +523,7 @@ void ScPivotLayoutDialog::ApplyChanges() if ( ( ( rOldRange != aDestinationRange ) && !rOldRange.In( aDestinationRange ) ) || bToNewSheet ) { - mpDocument->GetDPAtCursor( maPivotParameters.nCol, maPivotParameters.nRow, maPivotParameters.nTab); + pDPObj = mpDocument->GetDPAtCursor( maPivotParameters.nCol, maPivotParameters.nRow, maPivotParameters.nTab); } if (pDPObj) { |