Kaydet (Commit) 50f4d165 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make this a private member (to make it easier to keep track of its usage).

üst d06779dd
......@@ -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;
......
......@@ -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}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
......
......@@ -204,7 +204,7 @@ void SdrPaintView::ImpClearVars()
}
SdrPaintView::SdrPaintView(SdrModel* pModel1, OutputDevice* pOut)
: mpPageView(0L),
: mpPageView(NULL),
aDefaultAttr(pModel1->GetItemPool()),
mbBufferedOutputAllowed(false),
mbBufferedOverlayAllowed(false),
......
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