summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 13:39:16 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-01-31 21:38:56 -0500
commit971417fc32d7eeebf45e7cd354edddf91fc6de7d (patch)
tree6cb6e00aaadc68cd6c7228a1f9e5b58343bff734 /svx/source
parent2288981aab04a3ed2f4f2745ed455c256ccfa2cd (diff)
Make these data members private.
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdoashp.cxx2
-rw-r--r--svx/source/svdraw/svdobj.cxx5
2 files changed, 6 insertions, 1 deletions
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),