From 971417fc32d7eeebf45e7cd354edddf91fc6de7d Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 31 Jan 2012 13:39:16 -0500 Subject: Make these data members private. --- svx/source/svdraw/svdoashp.cxx | 2 +- svx/source/svdraw/svdobj.cxx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'svx/source') diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index f42eab5b8813..141322f7e064 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -1836,7 +1836,7 @@ void SdrObjCustomShape::ImpCheckCustomGluePointsAreAdded() // be a result of GetGluePointList and thus the list is copied if(pPlusData) { - *pPlusData->pGluePoints = aNewList; + pPlusData->SetGluePoints(aNewList); } } } diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 532be653ebe7..2c4e78df022d 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -277,6 +277,11 @@ SdrObjPlusData* SdrObjPlusData::Clone(SdrObject* pObj1) const return pNeuPlusData; } +void SdrObjPlusData::SetGluePoints(const SdrGluePointList& rPts) +{ + return *pGluePoints = rPts; +} + SdrObjTransformInfoRec::SdrObjTransformInfoRec() : bSelectAllowed(true), bMoveAllowed(true), -- cgit