diff options
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() |