summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdobj.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 14:00:46 +0200
committerNoel Grandin <noel@peralex.com>2015-04-23 13:08:48 +0200
commit79ed057b955a8d23e8289b9a5898c8bdaebabbfa (patch)
tree0b512b13f7b59e12a44395ea50814fda15902f04 /svx/source/svdraw/svdobj.cxx
parent12ba9e3cad05a665aee2150ef831f0dbc92d7e2d (diff)
loplugin:staticmethods
Change-Id: I6207b475127099872c6f3764331006688129b673
Diffstat (limited to 'svx/source/svdraw/svdobj.cxx')
-rw-r--r--svx/source/svdraw/svdobj.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 3ea38340eaf4..e829dffac9d0 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -412,7 +412,7 @@ void SdrObject::Free( SdrObject*& _rpObject )
delete pObject;
}
-SdrObjPlusData* SdrObject::NewPlusData() const
+SdrObjPlusData* SdrObject::NewPlusData()
{
return new SdrObjPlusData;
}
@@ -686,7 +686,7 @@ void SdrObject::SetName(const OUString& rStr)
{
bUndo = true;
SdrUndoAction* pUndoAction =
- GetModel()->GetSdrUndoFactory().CreateUndoObjectStrAttr(
+ SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
SdrUndoObjStrAttr::OBJ_NAME,
GetName(),
@@ -730,7 +730,7 @@ void SdrObject::SetTitle(const OUString& rStr)
{
bUndo = true;
SdrUndoAction* pUndoAction =
- GetModel()->GetSdrUndoFactory().CreateUndoObjectStrAttr(
+ SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
SdrUndoObjStrAttr::OBJ_TITLE,
GetTitle(),
@@ -774,7 +774,7 @@ void SdrObject::SetDescription(const OUString& rStr)
{
bUndo = true;
SdrUndoAction* pUndoAction =
- GetModel()->GetSdrUndoFactory().CreateUndoObjectStrAttr(
+ SdrUndoFactory::CreateUndoObjectStrAttr(
*this,
SdrUndoObjStrAttr::OBJ_DESCRIPTION,
GetDescription(),
@@ -1085,7 +1085,7 @@ OUString SdrObject::GetAngleStr(long nAngle, bool bNoDegChar) const
{
OUString aStr;
if (pModel!=NULL) {
- pModel->TakeAngleStr(nAngle,aStr,bNoDegChar);
+ SdrModel::TakeAngleStr(nAngle,aStr,bNoDegChar);
}
return aStr;
}
@@ -2407,7 +2407,7 @@ void extractLineContourFromPrimitive2DSequence(
-SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash) const
+SdrObject* SdrObject::ImpConvertToContourObj(SdrObject* pRet, bool bForceLineDash)
{
bool bNoChange(true);