Kaydet (Commit) b5216432 authored tarafından Noel Grandin's avatar Noel Grandin

sd: remove the maLockedRedraws field

not doing anything useful

Change-Id: I3c11261cff73886eb93cd76062c0ff5018384b3d
üst 77ae2a45
......@@ -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 );
......
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment