[Libreoffice-commits] .: sd/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Jan 30 13:34:32 PST 2011


 sd/source/core/drawdoc2.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0be14c931cba918f89a0deee65539c9f739cfb62
Author: Kenneth Venken <kenneth.venken at gmail.com>
Date:   Sun Jan 30 01:05:55 2011 +0100

    unread variable

diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index 8df46ac..bbb2ecb 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -775,7 +775,6 @@ BOOL SdDrawDocument::CreateMissingNotesAndHandoutPages()
 
 BOOL SdDrawDocument::MovePages(USHORT nTargetPage)
 {
-    SdPage* pTargetPage 	   = NULL;
     SdPage* pPage			   = NULL;
     USHORT	nPage;
     USHORT	nNoOfPages		   = GetSdPageCount(PK_STANDARD);
@@ -840,7 +839,6 @@ BOOL SdDrawDocument::MovePages(USHORT nTargetPage)
     // hinter <nPage> einfuegen
     else
     {
-        pTargetPage = GetSdPage(nPage, PK_STANDARD);
         nTargetPage = nPage;
         nTargetPage = 2 * nTargetPage + 1;	  // PK_STANDARD --> absolut
         while (aPageList.Count() > 0)


More information about the Libreoffice-commits mailing list