diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-24 14:00:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 12:18:08 +0100 |
commit | d41b5a88bd4fdff79975d0a64a56d6aae2be1f22 (patch) | |
tree | 79f755f5f8bdc4d4e9485e6afe2c12fac168413f /sw/source/ui/vba/vbafind.cxx | |
parent | 35fe7d4365f0fd9e118d17bb4b579cf303cd6720 (diff) |
reduce over use of static OUStrings
Diffstat (limited to 'sw/source/ui/vba/vbafind.cxx')
-rw-r--r-- | sw/source/ui/vba/vbafind.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbafind.cxx b/sw/source/ui/vba/vbafind.cxx index 52a0d8c22e3e..aed99c2efe4d 100644 --- a/sw/source/ui/vba/vbafind.cxx +++ b/sw/source/ui/vba/vbafind.cxx @@ -401,11 +401,10 @@ SwVbaFind::ClearFormatting( ) throw (uno::RuntimeException) mxPropertyReplace->setSearchAttributes( aSearchAttribs ); } -rtl::OUString& +rtl::OUString SwVbaFind::getServiceImplName() { - static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("SwVbaFind") ); - return sImplName; + return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SwVbaFind")); } uno::Sequence< rtl::OUString > |