summaryrefslogtreecommitdiff
path: root/vbahelper/source/vbahelper/vbashapes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/vbahelper/vbashapes.cxx')
-rw-r--r--vbahelper/source/vbahelper/vbashapes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vbahelper/source/vbahelper/vbashapes.cxx b/vbahelper/source/vbahelper/vbashapes.cxx
index 6f4cccc70f40..859d5caa274c 100644
--- a/vbahelper/source/vbahelper/vbashapes.cxx
+++ b/vbahelper/source/vbahelper/vbashapes.cxx
@@ -116,11 +116,11 @@ ScVbaShapes::getElementType() throw (uno::RuntimeException)
{
return ooo::vba::msforms::XShape::static_type(0);
}
-rtl::OUString&
+
+rtl::OUString
ScVbaShapes::getServiceImplName()
{
- static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("ScVbaShapes") );
- return sImplName;
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaShapes"));
}
uno::Sequence< rtl::OUString >