summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorEike Rathke <er@openoffice.org>2001-07-25 18:00:08 +0000
committerEike Rathke <er@openoffice.org>2001-07-25 18:00:08 +0000
commit5a3dfe542c4d601c051b9933ba639eb14907298b (patch)
tree10c6351c79c5aac0994ff4a7d7b82814e6c1ab02 /svx
parent536111d2ec852efd7875e9a6fe593ad38f3c1d75 (diff)
#87302# localized OLE 'Object' name prefix
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshap4.cxx12
-rw-r--r--svx/source/unodraw/unoshape.cxx12
2 files changed, 18 insertions, 6 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)
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 941cdfa3fc7d..c687974948c9 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unoshape.cxx,v $
*
- * $Revision: 1.61 $
+ * $Revision: 1.62 $
*
- * last change: $Author: cl $ $Date: 2001-07-24 08:46:22 $
+ * 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
@@ -202,6 +202,11 @@
#include "xlndsit.hxx"
#endif
+#ifndef _SVDGLOB_HXX
+#include "svdglob.hxx"
+#endif
+#include "svdstr.hrc"
+
using namespace ::osl;
using namespace ::vos;
using namespace ::rtl;
@@ -1259,7 +1264,8 @@ void SAL_CALL SvxShape::setPropertyValue( const OUString& rPropertyName, const u
{
// 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)