summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-28 12:11:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-28 12:11:05 +0000
commit79b80671e189882325182c55141c569b6b55e41b (patch)
tree171c19a5d758146966d57680f33610296bf9cedd
parent54766db4938889de446814e37034648d4f55e546 (diff)
cppcheck: unused variables
-rw-r--r--svx/source/svdraw/svdpage.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index 59ce66b32a..ad035f4155 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -981,8 +981,6 @@ void SdrObjList::ClearObjectNavigationOrder (void)
bool SdrObjList::RecalcNavigationPositions (void)
{
- bool bUpToDate (false);
-
if (mbIsNavigationOrderDirty)
{
if (mpNavigationOrder.get() != NULL)
@@ -994,8 +992,6 @@ bool SdrObjList::RecalcNavigationPositions (void)
sal_uInt32 nIndex (0);
for (iObject=mpNavigationOrder->begin(); iObject!=iEnd; ++iObject,++nIndex)
(*iObject)->SetNavigationPosition(nIndex);
-
- bUpToDate = true;
}
}