[Libreoffice-commits] .: svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Nov 28 05:04:42 PST 2010


 svx/source/svdraw/svdpage.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 79b80671e189882325182c55141c569b6b55e41b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Nov 28 12:11:05 2010 +0000

    cppcheck: unused variables

diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index 59ce66b..ad035f4 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;
         }
     }
 


More information about the Libreoffice-commits mailing list