reduce over use of static OUStrings

This commit is contained in:
Caolán McNamara
2012-03-24 14:00:06 +00:00
parent 35fe7d4365
commit d41b5a88bd
306 changed files with 545 additions and 709 deletions

View File

@@ -182,11 +182,10 @@ ScVbaUserForm::UnloadObject( ) throw (uno::RuntimeException)
m_xDialog->endExecute();
}
rtl::OUString&
rtl::OUString
ScVbaUserForm::getServiceImplName()
{
static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("ScVbaUserForm") );
return sImplName;
return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaUserForm"));
}
uno::Sequence< rtl::OUString >