summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbaradiobutton.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-24 14:00:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-26 12:18:08 +0100
commitd41b5a88bd4fdff79975d0a64a56d6aae2be1f22 (patch)
tree79f755f5f8bdc4d4e9485e6afe2c12fac168413f /vbahelper/source/msforms/vbaradiobutton.cxx
parent35fe7d4365f0fd9e118d17bb4b579cf303cd6720 (diff)
reduce over use of static OUStrings
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 >