diff options
author | Christian Lippka <cl@openoffice.org> | 2002-06-07 11:08:48 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2002-06-07 11:08:48 +0000 |
commit | fb378011998d3a4d53a91d431fd27ea53a8de279 (patch) | |
tree | 2f06fb8f22aea94bd5c36562f66a01b944242bc8 /svx/source/svdraw/svdocapt.cxx | |
parent | 8ffa03f9297558e415000e94429b0671a7000e7a (diff) |
#99734# enable naming of all shapes
Diffstat (limited to 'svx/source/svdraw/svdocapt.cxx')
-rw-r--r-- | svx/source/svdraw/svdocapt.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdocapt.cxx b/svx/source/svdraw/svdocapt.cxx index ce3021efeb13..4a2f40d7d9cf 100644 --- a/svx/source/svdraw/svdocapt.cxx +++ b/svx/source/svdraw/svdocapt.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdocapt.cxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: aw $ $Date: 2002-05-21 13:33:46 $ + * last change: $Author: cl $ $Date: 2002-06-07 12:08:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -378,6 +378,15 @@ void SdrCaptionObj::operator=(const SdrObject& rObj) void SdrCaptionObj::TakeObjNameSingul(XubString& rName) const { rName=ImpGetResStr(STR_ObjNameSingulCAPTION); + + String aName( GetName() ); + if(aName.Len()) + { + rName += sal_Unicode(' '); + rName += sal_Unicode('\''); + rName += aName; + rName += sal_Unicode('\''); + } } void SdrCaptionObj::TakeObjNamePlural(XubString& rName) const |