summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/extrud3d.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-06-07 11:08:48 +0000
committerChristian Lippka <cl@openoffice.org>2002-06-07 11:08:48 +0000
commitfb378011998d3a4d53a91d431fd27ea53a8de279 (patch)
tree2f06fb8f22aea94bd5c36562f66a01b944242bc8 /svx/source/engine3d/extrud3d.cxx
parent8ffa03f9297558e415000e94429b0671a7000e7a (diff)
#99734# enable naming of all shapes
Diffstat (limited to 'svx/source/engine3d/extrud3d.cxx')
-rw-r--r--svx/source/engine3d/extrud3d.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/engine3d/extrud3d.cxx b/svx/source/engine3d/extrud3d.cxx
index aaf3e4d33b01..472d63fa8237 100644
--- a/svx/source/engine3d/extrud3d.cxx
+++ b/svx/source/engine3d/extrud3d.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: extrud3d.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: aw $ $Date: 2001-12-04 14:13:17 $
+ * last change: $Author: cl $ $Date: 2002-06-07 12:06:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -758,6 +758,15 @@ void E3dExtrudeObj::PostItemChange(const sal_uInt16 nWhich)
void E3dExtrudeObj::TakeObjNameSingul(XubString& rName) const
{
rName=ImpGetResStr(STR_ObjNameSingulExtrude3d);
+
+ String aName( GetName() );
+ if(aName.Len())
+ {
+ rName += sal_Unicode(' ');
+ rName += sal_Unicode('\'');
+ rName += aName;
+ rName += sal_Unicode('\'');
+ }
}
/*************************************************************************