diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-29 12:09:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-29 12:09:29 +0000 |
commit | 4bb19d3850bb56728b543e7c34b2f9829cd3ee28 (patch) | |
tree | b997ef048b0040dea034cfc732f09cab78ae4d9f | |
parent | 04dcb66260df473034ca7b9cca50931f08e9b315 (diff) |
cppcheck: unused variables
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 2b86af1e09c9..2f827ddf239a 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -1129,8 +1129,6 @@ BOOL SdDrawDocument::InsertBookmarkAsObject( delete pView; - List* pList = pBookmarkList; - if (pExchangeList) { // Anzahl Objekte nach dem Einfuegen bestimmen @@ -1151,8 +1149,6 @@ BOOL SdDrawDocument::InsertBookmarkAsObject( pExchangeList->Next(); } - - pList = pExchangeList; } } @@ -1728,9 +1724,8 @@ void SdDrawDocument::SetMasterPage(USHORT nSdPageNum, if (pSourceDoc != this) { // Aus dem Source-Dokument austragen - SdrPage* pTest = NULL; - pTest = pSourceDoc->RemoveMasterPage(pNotesMaster->GetPageNum()); - pTest = pSourceDoc->RemoveMasterPage(pMaster->GetPageNum()); + pSourceDoc->RemoveMasterPage(pNotesMaster->GetPageNum()); + pSourceDoc->RemoveMasterPage(pMaster->GetPageNum()); } /********************************************************************* |