diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-03 14:03:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-05 08:44:19 +0200 |
commit | 705c48d32eec0aa5180e60ca157daca4b154e4a3 (patch) | |
tree | 97f43496f4b429a2b8d03b1e71cb2a1c33142a15 /toolkit/source/controls/tree | |
parent | b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9 (diff) |
fdo#38835 strip out OUString globals
they are largely unnecessary these days, since our OUString infrastructure
gained optimised handling for static char constants.
Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
Diffstat (limited to 'toolkit/source/controls/tree')
-rw-r--r-- | toolkit/source/controls/tree/treedatamodel.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx index 63b65b034729..ee1468ff22ac 100644 --- a/toolkit/source/controls/tree/treedatamodel.cxx +++ b/toolkit/source/controls/tree/treedatamodel.cxx @@ -248,9 +248,7 @@ void SAL_CALL MutableTreeDataModel::removeEventListener( const Reference< XEvent OUString SAL_CALL MutableTreeDataModel::getImplementationName( ) throw (RuntimeException, std::exception) { - ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); - static const OUString aImplName( "toolkit.MutableTreeDataModel" ); - return aImplName; + return OUString( "toolkit.MutableTreeDataModel" ); } sal_Bool SAL_CALL MutableTreeDataModel::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) @@ -528,9 +526,7 @@ OUString SAL_CALL MutableTreeNode::getCollapsedGraphicURL( ) throw (RuntimeExce OUString SAL_CALL MutableTreeNode::getImplementationName( ) throw (RuntimeException, std::exception) { - ::osl::Guard< ::osl::Mutex > aGuard( maMutex ); - static const OUString aImplName( "toolkit.MutableTreeNode" ); - return aImplName; + return OUString( "toolkit.MutableTreeNode" ); } sal_Bool SAL_CALL MutableTreeNode::supportsService( const OUString& ServiceName ) throw (RuntimeException, std::exception) |