From 0f2824b117b65bd9c9db2870edc159419ae0c1d9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 26 May 2014 16:59:44 +0200 Subject: remove more unnecessary use of OUString constructor Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba --- comphelper/source/container/enumerablemap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'comphelper/source/container') diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx index b2e7def199fb..7dc2df10c93e 100644 --- a/comphelper/source/container/enumerablemap.cxx +++ b/comphelper/source/container/enumerablemap.cxx @@ -509,7 +509,7 @@ namespace comphelper if ( _keyOrValue >>= nValue ) if ( ::rtl::math::isNan( nValue ) ) throw IllegalArgumentException( - OUString( "NaN (not-a-number) not supported by this implementation." ), + "NaN (not-a-number) not supported by this implementation.", *const_cast< EnumerableMap* >( this ), 0 ); // (note that the case of _key not containing a float/double value is handled in the // respective IKeyPredicateLess implementation, so there's no need to handle this here.) @@ -521,7 +521,7 @@ namespace comphelper { if ( !_key.hasValue() ) throw IllegalArgumentException( - OUString( "NULL keys not supported by this implementation." ), + "NULL keys not supported by this implementation.", *const_cast< EnumerableMap* >( this ), 0 ); impl_checkNaN_throw( _key, m_aData.m_aKeyType ); @@ -532,7 +532,7 @@ namespace comphelper { if ( !m_aData.m_bMutable ) throw NoSupportException( - OUString( "The map is immutable." ), + "The map is immutable.", *const_cast< EnumerableMap* >( this ) ); } -- cgit