summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-07 14:58:54 +0200
committerNoel Grandin <noel@peralex.com>2014-02-07 15:33:29 +0200
commit50fe91476fed74773f0f0d40261b8e2d4728ef26 (patch)
tree5e5137bfdd2d9fe3a00c39d3f834979fa4af3015 /sd
parent8d62cd21cba9f08e27f82713dc648341d27f91a3 (diff)
coverity#708813 unused pointer value
Change-Id: I723757e470cb2b7e1a412a61a251be954e19d1e9
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/tools/IdleDetection.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/tools/IdleDetection.cxx b/sd/source/ui/tools/IdleDetection.cxx
index ddecd6959b81..073a70345892 100644
--- a/sd/source/ui/tools/IdleDetection.cxx
+++ b/sd/source/ui/tools/IdleDetection.cxx
@@ -64,8 +64,7 @@ sal_Int32 IdleDetection::CheckSlideShowRunning (void)
bool bIsSlideShowShowing = false;
// Iterate over all view frames.
- SfxViewFrame* pViewFrame = SfxViewFrame::GetFirst();
- for (pViewFrame = SfxViewFrame::GetFirst();
+ for (SfxViewFrame* pViewFrame = SfxViewFrame::GetFirst();
pViewFrame!=NULL && !bIsSlideShowShowing;
pViewFrame = SfxViewFrame::GetNext(*pViewFrame))
{