summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorKenneth Venken <kenneth.venken@gmail.com>2011-01-30 01:05:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-01-30 21:34:20 +0000
commitb0b82a310ad4946e7c149d6219b697324f6ef612 (patch)
tree44842b80798bbc708546279c36a46398964208ea /sd/source
parent615a2470f3750b101a71545f07b60b0e61df7c30 (diff)
unread variable
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/core/drawdoc2.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index a197615e207d..7296110720d4 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)