diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 16:07:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-11 16:47:09 +0100 |
commit | 5c3b81d21d163d89ea95c2ca0c23b467b6537025 (patch) | |
tree | d3737231db7035756961a95c2700767b93b33a50 | |
parent | 74d2ed1ace67a83bbfa97de7ac96bfd43888ee3a (diff) |
drop unused members
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index 0ec3a1e1037c..fe6b48ae6a16 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -336,18 +336,12 @@ void SdDrawDocument::IterateBookmarkPages( SdDrawDocument* pBookmarkDoc, List* p class InsertBookmarkAsPage_FindDuplicateLayouts : public SdDrawDocument::InsertBookmarkAsPage_PageFunctorBase { public: - InsertBookmarkAsPage_FindDuplicateLayouts( std::vector<rtl::OUString> *pLayoutsToTransfer, - SdDrawDocument* pBookmarkDoc, - List* pBookmarkList, sal_uInt16 nBMSdPageCount ) : - mpLayoutsToTransfer(pLayoutsToTransfer), mpBookmarkDoc(pBookmarkDoc), - mpBookmarkList(pBookmarkList), mnBMSdPageCount(nBMSdPageCount) {} + InsertBookmarkAsPage_FindDuplicateLayouts( std::vector<rtl::OUString> *pLayoutsToTransfer ) + : mpLayoutsToTransfer(pLayoutsToTransfer) {} virtual ~InsertBookmarkAsPage_FindDuplicateLayouts() {}; virtual void operator()( SdDrawDocument&, SdPage* ); private: std::vector<rtl::OUString> *mpLayoutsToTransfer; - SdDrawDocument* mpBookmarkDoc; - List* mpBookmarkList; - sal_uInt16 mnBMSdPageCount; }; void InsertBookmarkAsPage_FindDuplicateLayouts::operator()( SdDrawDocument& rDoc, SdPage* pBMMPage ) @@ -520,8 +514,7 @@ sal_Bool SdDrawDocument::InsertBookmarkAsPage( // Refactored copy'n'pasted layout name collection into IterateBookmarkPages // std::vector<rtl::OUString> aLayoutsToTransfer; - InsertBookmarkAsPage_FindDuplicateLayouts aSearchFunctor( &aLayoutsToTransfer, pBookmarkDoc, - pBookmarkList, nBMSdPageCount ); + InsertBookmarkAsPage_FindDuplicateLayouts aSearchFunctor( &aLayoutsToTransfer ); IterateBookmarkPages( pBookmarkDoc, pBookmarkList, nBMSdPageCount, aSearchFunctor ); |