summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-07-25 20:35:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-07-26 09:01:30 +0100
commita307e03946cca3a8e93b37eb9113721bc4e512bb (patch)
tree74840d663f7fb7035c52c1ba8b6e033e82f45f90 /svx/source/engine3d
parentb14688f07f2d2e1e53cf0b99bd2f7a055e2ddb3d (diff)
convert TakeObjNamePlural family to OUString
Change-Id: I947e47934677a4f9ced0bfc0db3932bcbbb25f36
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/cube3d.cxx4
-rw-r--r--svx/source/engine3d/extrud3d.cxx4
-rw-r--r--svx/source/engine3d/lathe3d.cxx4
-rw-r--r--svx/source/engine3d/obj3d.cxx4
-rw-r--r--svx/source/engine3d/scene3d.cxx4
-rw-r--r--svx/source/engine3d/sphere3d.cxx4
6 files changed, 12 insertions, 12 deletions
diff --git a/svx/source/engine3d/cube3d.cxx b/svx/source/engine3d/cube3d.cxx
index 5328d243ff0d..7a0426c364fa 100644
--- a/svx/source/engine3d/cube3d.cxx
+++ b/svx/source/engine3d/cube3d.cxx
@@ -127,9 +127,9 @@ OUString E3dCubeObj::TakeObjNameSingul() const
// Get the name of the object (plural)
-void E3dCubeObj::TakeObjNamePlural(XubString& rName) const
+OUString E3dCubeObj::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralCube3d);
+ return ImpGetResStr(STR_ObjNamePluralCube3d);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx
index 6b4c60708901..98ceaddc0cb7 100644
--- a/svx/source/engine3d/extrud3d.cxx
+++ b/svx/source/engine3d/extrud3d.cxx
@@ -137,9 +137,9 @@ OUString E3dExtrudeObj::TakeObjNameSingul() const
// Get the name of the object (plural)
-void E3dExtrudeObj::TakeObjNamePlural(XubString& rName) const
+OUString E3dExtrudeObj::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralExtrude3d);
+ return ImpGetResStr(STR_ObjNamePluralExtrude3d);
}
bool E3dExtrudeObj::IsBreakObjPossible()
diff --git a/svx/source/engine3d/lathe3d.cxx b/svx/source/engine3d/lathe3d.cxx
index 59005096ed01..55759026f2f1 100644
--- a/svx/source/engine3d/lathe3d.cxx
+++ b/svx/source/engine3d/lathe3d.cxx
@@ -165,9 +165,9 @@ OUString E3dLatheObj::TakeObjNameSingul() const
// Get the name of the object (plural)
-void E3dLatheObj::TakeObjNamePlural(XubString& rName) const
+OUString E3dLatheObj::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralLathe3d);
+ return ImpGetResStr(STR_ObjNamePluralLathe3d);
}
bool E3dLatheObj::IsBreakObjPossible()
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 6e74d2f04578..a9c5d65590af 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -681,9 +681,9 @@ OUString E3dObject::TakeObjNameSingul() const
// Get the name of the object (plural)
-void E3dObject::TakeObjNamePlural(XubString& rName) const
+OUString E3dObject::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralObj3d);
+ return ImpGetResStr(STR_ObjNamePluralObj3d);
}
E3dObject* E3dObject::Clone() const
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index cfc41635adf2..868ddcbaf6a5 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -588,9 +588,9 @@ OUString E3dScene::TakeObjNameSingul() const
return sName.makeStringAndClear();
}
-void E3dScene::TakeObjNamePlural(XubString& rName) const
+OUString E3dScene::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralScene3d);
+ return ImpGetResStr(STR_ObjNamePluralScene3d);
}
// The NbcRotate routine overloads the one of the SdrObject. The idea is
diff --git a/svx/source/engine3d/sphere3d.cxx b/svx/source/engine3d/sphere3d.cxx
index b1c17beb252d..1f4487b1dbc0 100644
--- a/svx/source/engine3d/sphere3d.cxx
+++ b/svx/source/engine3d/sphere3d.cxx
@@ -144,9 +144,9 @@ OUString E3dSphereObj::TakeObjNameSingul() const
// Get the name of the object (plural)
-void E3dSphereObj::TakeObjNamePlural(XubString& rName) const
+OUString E3dSphereObj::TakeObjNamePlural() const
{
- rName=ImpGetResStr(STR_ObjNamePluralSphere3d);
+ return ImpGetResStr(STR_ObjNamePluralSphere3d);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */