diff options
author | Eike Rathke <er@openoffice.org> | 2001-07-25 18:00:08 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-07-25 18:00:08 +0000 |
commit | 5a3dfe542c4d601c051b9933ba639eb14907298b (patch) | |
tree | 10c6351c79c5aac0994ff4a7d7b82814e6c1ab02 /svx/source/unodraw/unoshap4.cxx | |
parent | 536111d2ec852efd7875e9a6fe593ad38f3c1d75 (diff) |
#87302# localized OLE 'Object' name prefix
Diffstat (limited to 'svx/source/unodraw/unoshap4.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap4.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx index effa2d52bd74..f4da5b3ac482 100644 --- a/svx/source/unodraw/unoshap4.cxx +++ b/svx/source/unodraw/unoshap4.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unoshap4.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2001-06-19 07:24:00 $ + * last change: $Author: er $ $Date: 2001-07-25 19:00:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -91,6 +91,11 @@ #include "unoshprp.hxx" #include "unoapi.hxx" +#ifndef _SVDGLOB_HXX +#include "svdglob.hxx" +#endif +#include "svdstr.hrc" + /////////////////////////////////////////////////////////////////////// using namespace ::osl; @@ -237,7 +242,8 @@ sal_Bool SvxOle2Shape::createObject( const SvGlobalName &aClassName ) { // generate a unique name - aName = String( RTL_CONSTASCII_USTRINGPARAM("Object ") ); + aName = ImpGetResStr( STR_ObjOLE2NamePrefix ); + aName += sal_Unicode(' '); String aStr; sal_Int32 i = 1; HACK(Wegen Storage Bug 46033) |