summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/unodraw/unoshape.cxx')
-rw-r--r--svx/source/unodraw/unoshape.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index f6fab38d5ef2..9c6df3a99b0b 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3146,8 +3146,7 @@ uno::Sequence<uno::Any> SvxShape::getPropertyDefaults(
OUString SAL_CALL SvxShape::getImplementationName()
throw(uno::RuntimeException, std::exception)
{
- static OUString aServiceName("SvxShape");
- return aServiceName;
+ return OUString("SvxShape");
}
#define STAR_NAMESPACE "com.sun.star."
@@ -4007,8 +4006,7 @@ void SAL_CALL SvxShapeText::release() throw()
OUString SAL_CALL SvxShapeText::getImplementationName() throw( uno::RuntimeException, std::exception )
{
- static OUString aServiceName("SvxShapeText");
- return aServiceName;
+ return OUString("SvxShapeText");
}