summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdmrkv1.cxx
diff options
context:
space:
mode:
authorStefan Knorr <heinzlesspam@googlemail.com>2012-01-24 12:43:39 +0530
committerMuthu Subramanian <sumuthu@suse.com>2012-01-24 12:55:48 +0530
commitcf545e07f32f99e9c50e7dd6a0e932ead84e072c (patch)
treec2fc6fbeb7e669063721f1dc9d2d8ec63a9a02ff /svx/source/svdraw/svdmrkv1.cxx
parent3456c03198e57b5a8f49ad79a3bbb2ce2602a07d (diff)
Removal of commented code.
Diffstat (limited to 'svx/source/svdraw/svdmrkv1.cxx')
-rw-r--r--svx/source/svdraw/svdmrkv1.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/svx/source/svdraw/svdmrkv1.cxx b/svx/source/svdraw/svdmrkv1.cxx
index 684d8cdab015..43ea99ff250f 100644
--- a/svx/source/svdraw/svdmrkv1.cxx
+++ b/svx/source/svdraw/svdmrkv1.cxx
@@ -258,10 +258,6 @@ sal_Bool SdrMarkView::MarkPoints(const Rectangle* pRect, sal_Bool bUnmark)
}
Point aPos(pHdl->GetPos());
if (pM!=NULL && (pRect==NULL || pRect->IsInside(aPos))) {
- //HMHif (bHideHdl && IsMarkHdlShown() && pHdl->GetObj()!=NULL) {
- //HMHsal_uInt32 nAnz=pHdl->GetObj()->GetPlusHdlCount(*pHdl);
- //HMHif (nAnz!=0L) HideMarkHdl(); // #36987#
- //HMH}
if (ImpMarkPoint(pHdl,pM,bUnmark)) bChgd=sal_True;
}
}
@@ -300,11 +296,8 @@ void SdrMarkView::SetPlusHandlesAlwaysVisible(sal_Bool bOn)
{ // TODO: Optimize HandlePaint!
ForceUndirtyMrkPnt();
if (bOn!=bPlusHdlAlways) {
- //HMHBOOL bVis=IsMarkHdlShown();
- //HMHif (bVis) HideMarkHdl();
bPlusHdlAlways=bOn;
SetMarkHandles();
- //HMHif (bVis) ShowMarkHdl();
MarkListHasChanged();
}
}
@@ -510,14 +503,13 @@ sal_Bool SdrMarkView::MarkGluePoints(const Rectangle* pRect, sal_Bool bUnmark)
sal_Bool SdrMarkView::PickGluePoint(const Point& rPnt, SdrObject*& rpObj, sal_uInt16& rnId, SdrPageView*& rpPV, sal_uIntPtr nOptions) const
{
SdrObject* pObj0=rpObj;
- //SdrPageView* pPV0=rpPV;
sal_uInt16 nId0=rnId;
rpObj=NULL; rpPV=NULL; rnId=0;
if (!IsGluePointEditMode()) return sal_False;
sal_Bool bBack=(nOptions & SDRSEARCH_BACKWARD) !=0;
sal_Bool bNext=(nOptions & SDRSEARCH_NEXT) !=0;
OutputDevice* pOut=(OutputDevice*)pActualOutDev;
- if (pOut==NULL) pOut=GetFirstOutputDevice(); //GetWin(0);
+ if (pOut==NULL) pOut=GetFirstOutputDevice();
if (pOut==NULL) return sal_False;
SortMarkedObjects();
sal_uIntPtr nMarkAnz=GetMarkedObjectCount();