summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-05 20:38:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-05 20:39:37 +0000
commite0cba2a0a837b0d53e813abef3a379b737122c67 (patch)
treed222126c9ca25142853f37cd664191661e6da002 /sc/source/ui/dbgui
parent57598da9fa348f09d681b334c8196feb7f23cdb9 (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.cxx2
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)
{