summaryrefslogtreecommitdiffstats
path: root/vbahelper/source/msforms/vbaradiobutton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/msforms/vbaradiobutton.cxx')
-rw-r--r--vbahelper/source/msforms/vbaradiobutton.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/vbahelper/source/msforms/vbaradiobutton.cxx b/vbahelper/source/msforms/vbaradiobutton.cxx
index 8f349f499597..16efb6b74629 100644
--- a/vbahelper/source/msforms/vbaradiobutton.cxx
+++ b/vbahelper/source/msforms/vbaradiobutton.cxx
@@ -103,11 +103,10 @@ uno::Reference< msforms::XNewFont > SAL_CALL ScVbaRadioButton::getFont() throw (
return new VbaNewFont( this, mxContext, m_xProps );
}
-rtl::OUString&
+rtl::OUString
ScVbaRadioButton::getServiceImplName()
{
- static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("ScVbaRadioButton") );
- return sImplName;
+ return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaRadioButton"));
}
uno::Sequence< rtl::OUString >