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 @@ ...@@ -20,8 +20,6 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX #ifndef INCLUDED_SD_SOURCE_UI_INC_VIEW_HXX
#define 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 "pres.hxx"
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <svtools/transfer.hxx> #include <svtools/transfer.hxx>
...@@ -56,13 +54,6 @@ class ViewShell; ...@@ -56,13 +54,6 @@ class ViewShell;
class Window; class Window;
class ViewClipboard; class ViewClipboard;
// SdViewRedrawRec
struct SdViewRedrawRec
{
VclPtr<OutputDevice> mpOut;
Rectangle aRect;
};
//For master view we want to force that master //For master view we want to force that master
//textboxes have readonly text, because the //textboxes have readonly text, because the
//text is the auto-generated click-here-to-edit //text is the auto-generated click-here-to-edit
...@@ -269,7 +260,6 @@ protected: ...@@ -269,7 +260,6 @@ protected:
Idle maDropErrorIdle; Idle maDropErrorIdle;
Idle maDropInsertFileIdle; Idle maDropInsertFileIdle;
sal_uInt16 mnLockRedrawSmph; sal_uInt16 mnLockRedrawSmph;
boost::ptr_vector<SdViewRedrawRec> maLockedRedraws;
bool mbIsDropAllowed; bool mbIsDropAllowed;
DECL_LINK_TYPED( DropErrorHdl, Idle*, void ); DECL_LINK_TYPED( DropErrorHdl, Idle*, void );
......
...@@ -503,14 +503,6 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sdr::c ...@@ -503,14 +503,6 @@ void View::CompleteRedraw(OutputDevice* pOutDev, const vcl::Region& rReg, sdr::c
ViewRedirector aViewRedirector; ViewRedirector aViewRedirector;
FmFormView::CompleteRedraw(pOutDev, rReg, pRedirector ? pRedirector : &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() 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