summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-04-06 17:16:41 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-04-14 12:31:55 +0200
commit60c8df432619e4aaf90e92e18f096a43acb3a30f (patch)
tree86d0d6dc6a7a6d1313c8e2427d0ddccc400513eb /include
parentno need for those static strings (diff)
downloadcore-60c8df432619e4aaf90e92e18f096a43acb3a30f.tar.gz
core-60c8df432619e4aaf90e92e18f096a43acb3a30f.zip
remove static strings
Diffstat (limited to 'include')
-rw-r--r--include/vbahelper/vbacollectionimpl.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vbahelper/vbacollectionimpl.hxx b/include/vbahelper/vbacollectionimpl.hxx
index 2f57ab159259..47e08916bce7 100644
--- a/include/vbahelper/vbacollectionimpl.hxx
+++ b/include/vbahelper/vbacollectionimpl.hxx
@@ -309,8 +309,7 @@ public:
// XDefaultMethod
OUString SAL_CALL getDefaultMethodName( ) throw (css::uno::RuntimeException)
{
- const static OUString sName( "Item" );
- return sName;
+ return "Item";
}
// XEnumerationAccess
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException) = 0;