From 50f4d165b42a85993685e546cbc524bc1bf68e5c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 19 Jan 2012 16:51:09 -0500 Subject: Make this a private member (to make it easier to keep track of its usage). --- svx/inc/svx/svdpntv.hxx | 2 +- svx/source/svdraw/svdmrkv.cxx | 17 +++-------------- svx/source/svdraw/svdpntv.cxx | 2 +- 3 files changed, 5 insertions(+), 16 deletions(-) (limited to 'svx') diff --git a/svx/inc/svx/svdpntv.hxx b/svx/inc/svx/svdpntv.hxx index 761e5d3d056a..c5773d101d77 100644 --- a/svx/inc/svx/svdpntv.hxx +++ b/svx/inc/svx/svdpntv.hxx @@ -132,6 +132,7 @@ class SVX_DLLPUBLIC SdrPaintView : public SfxListener, public SfxRepeatTarget, p friend class FrameAnimator; friend class SdrGrafObj; + SdrPageView* mpPageView; protected: SdrModel* pMod; #ifdef DBG_UTIL @@ -145,7 +146,6 @@ protected: String aMeasureLayer; // Aktueller Layer fuer Bemassung // Container aPagV; // Liste von SdrPageViews - SdrPageView* mpPageView; // All windows this view is displayed on SdrPaintWindowVector maPaintWindows; diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx index f720e680c23c..d7c8959b59d2 100644 --- a/svx/source/svdraw/svdmrkv.cxx +++ b/svx/source/svdraw/svdmrkv.cxx @@ -307,21 +307,15 @@ void SdrMarkView::ClearPageView() void SdrMarkView::HideSdrPage() { bool bMrkChg(false); - //HMHbool bVis(false); - if(mpPageView) + SdrPageView* pPageView = GetSdrPageView(); + if (pPageView) { // break all creation actions when hiding page (#75081#) BrkAction(); - //HMHbVis = IsMarkHdlShown(); - - //HMHif(bVis) - //HMH{ - //HMH HideMarkHdl(); - //HMH} // Discard all selections on this page - bMrkChg = GetMarkedObjectListWriteAccess().DeletePageView(*mpPageView); + bMrkChg = GetMarkedObjectListWriteAccess().DeletePageView(*pPageView); } SdrSnapView::HideSdrPage(); @@ -331,11 +325,6 @@ void SdrMarkView::HideSdrPage() MarkListHasChanged(); AdjustMarkHdl(); } - - //HMHif(bVis) - //HMH{ - //HMH ShowMarkHdl(); - //HMH} } //////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 331354b50621..8d5d71a2b5f7 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -204,7 +204,7 @@ void SdrPaintView::ImpClearVars() } SdrPaintView::SdrPaintView(SdrModel* pModel1, OutputDevice* pOut) -: mpPageView(0L), +: mpPageView(NULL), aDefaultAttr(pModel1->GetItemPool()), mbBufferedOutputAllowed(false), mbBufferedOverlayAllowed(false), -- cgit 24.04.11 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sw/sdi/switems.sdi
AgeCommit message (Collapse)Author