hi,

this removes unread variable pTargetPage from
./impress/sd/source/core/drawdoc2.cxx<http://libreoffice.boldandbusted.com/368.html>

-- Kenneth
From 790ae5ce71d14ce6100fc97d81b24f960e8323d5 Mon Sep 17 00:00:00 2001
From: Kenneth Venken <kenneth.ven...@gmail.com>
Date: Sun, 30 Jan 2011 01:05:55 +0100
Subject: [PATCH] unread variable

---
 sd/source/core/drawdoc2.cxx |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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)
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to