diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-26 14:29:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-27 08:20:11 +0200 |
commit | 9b791f9c31165b82ec0fa3760a8af18c5af21294 (patch) | |
tree | 3668f3b746bc584280a01162f86a0b2fe6b46510 /editeng/source | |
parent | 3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2 (diff) |
remove unnecessary use of OUString constructor when throwing
Change-Id: I4a3f3f911dcfbf88696053215a2fb7a94678244c
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index f6d95bd09a96..1242f8f58da5 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -2109,7 +2109,7 @@ void SvxPropertyValuesToItemSet( pPropSet->setPropertyValue( pProps[i].Name, pProps[i].Value, rItemSet ); } else - throw beans::UnknownPropertyException(OUString( "Unknown property: " ) + pProps[i].Name, static_cast < cppu::OWeakObject * > ( 0 ) ); + throw beans::UnknownPropertyException( "Unknown property: " + pProps[i].Name, static_cast < cppu::OWeakObject * > ( 0 ) ); } } |