diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-11 15:26:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-12 08:01:36 +0200 |
commit | b5216432a86ea6b0be9af29c71b864629b748c13 (patch) | |
tree | a7b1986f507dc2830084dfa5b5caff78fd66e828 /sd | |
parent | 77ae2a45c7cddc0475b4e2b3d38661e21eb170ed (diff) |
sd: remove the maLockedRedraws field
not doing anything useful
Change-Id: I3c11261cff73886eb93cd76062c0ff5018384b3d
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/View.hxx | 14 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 8 |
2 files changed, 2 insertions, 20 deletions
diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx index a870c39e3158..935ba079745c 100644 --- a/sd/source/ui/inc/View.hxx +++ b/sd/source/ui/inc/View.hxx @@ -20,8 +20,6 @@ #ifndef INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX #define INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX -#include <boost/ptr_container/ptr_vector.hpp> - #include "pres.hxx" #include <tools/gen.hxx> #include <svtools/transfer.hxx> @@ -56,13 +54,6 @@ class ViewShell; class Window; class ViewClipboard; -// SdViewRedrawRec -struct SdViewRedrawRec -{ - VclPtr<OutputDevice> mpOut; - Rectangle aRect; -}; - //For master view we want to force that master //textboxes have readonly text, because the //text is the auto-generated click-here-to-edit @@ -262,14 +253,13 @@ protected: SdrMarkList* mpDragSrcMarkList; SdrObject* mpDropMarkerObj; SdrDropMarkerOverlay* mpDropMarker; - sal_uInt16 mnDragSrcPgNum; + sal_uInt16 mnDragSrcPgNum; Point maDropPos; ::std::vector<OUString> maDropFileVector; sal_Int8 mnAction; Idle maDropErrorIdle; Idle maDropInsertFileIdle; - sal_uInt16 mnLockRedrawSmph; - boost::ptr_vector<SdViewRedrawRec> maLockedRedraws; + sal_uInt16 mnLockRedrawSmph; bool mbIsDropAllowed; DECL_LINK_TYPED( DropErrorHdl, Idle*, void ); diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index a7576d01a7aa..71c6ce268503 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -503,14 +503,6 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sdr::c ViewRedirector aViewRedirector; FmFormView::CompleteRedraw(pOutDev, rReg, pRedirector ? pRedirector : &aViewRedirector); } - // or save? - else - { - SdViewRedrawRec* pRec = new SdViewRedrawRec; - pRec->mpOut = pOutDev; - pRec->aRect = rReg.GetBoundRect(); - maLockedRedraws.push_back(pRec); - } } void View::MarkListHasChanged() |