diff options
Diffstat (limited to 'sc/source/ui/vba/vbapivottables.cxx')
-rw-r--r-- | sc/source/ui/vba/vbapivottables.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbapivottables.cxx b/sc/source/ui/vba/vbapivottables.cxx index b7e090d1a841..d2f5c47813f3 100644 --- a/sc/source/ui/vba/vbapivottables.cxx +++ b/sc/source/ui/vba/vbapivottables.cxx @@ -75,11 +75,10 @@ ScVbaPivotTables::getElementType() throw (uno::RuntimeException) return excel::XPivotTable::static_type(0); } -rtl::OUString& +rtl::OUString ScVbaPivotTables::getServiceImplName() { - static rtl::OUString sImplName( RTL_CONSTASCII_USTRINGPARAM("ScVbaPivotTables") ); - return sImplName; + return rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ScVbaPivotTables")); } css::uno::Sequence<rtl::OUString> |