summaryrefslogtreecommitdiff
path: root/comphelper/source/container
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-26 16:59:44 +0200
committerNoel Grandin <noel@peralex.com>2014-05-27 08:20:12 +0200
commit0f2824b117b65bd9c9db2870edc159419ae0c1d9 (patch)
tree2e45a7d5e0d60b97bf989fd21c0ae35392ba5823 /comphelper/source/container
parent9af0abebfd61641c9d028505caa864cdf898e35b (diff)
remove more unnecessary use of OUString constructor
Change-Id: Iae14cb3df65295b6894fd9e05411c5698e9c8aba
Diffstat (limited to 'comphelper/source/container')
-rw-r--r--comphelper/source/container/enumerablemap.cxx6
1 files changed, 3 insertions, 3 deletions
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 ) );
}