From 5a3dfe542c4d601c051b9933ba639eb14907298b Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 25 Jul 2001 18:00:08 +0000 Subject: #87302# localized OLE 'Object' name prefix --- svx/source/unodraw/unoshap4.cxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'svx/source/unodraw/unoshap4.cxx') 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) -- cgit