diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 10:25:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:40 +0200 |
commit | f0ae48b684e89acd7088c31a8feff5fc03d51105 (patch) | |
tree | c2560690a0d7ba016ff832cd1561da5d4532c6d9 /comphelper | |
parent | 7e4c6e1ff1961ad7a48cc9c1d9b3668372c6aed8 (diff) |
remove unnecessary NULL parameter passed to UNO Exception
.. now that we have a default value for that parameter
Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/property/propertycontainerhelper.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/propertysetinfo.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx index 0fd8e9ee288f..fca26062e0ad 100644 --- a/comphelper/source/property/propertycontainerhelper.cxx +++ b/comphelper/source/property/propertycontainerhelper.cxx @@ -464,7 +464,7 @@ const Property& OPropertyContainerHelper::getProperty( const OUString& _rName ) PropertyDescriptionNameMatch( _rName ) ); if ( pos == m_aProperties.end() ) - throw UnknownPropertyException( _rName, NULL ); + throw UnknownPropertyException( _rName ); return pos->aProperty; } diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx index 4945a4a258fc..bda50a89be52 100644 --- a/comphelper/source/property/propertysetinfo.cxx +++ b/comphelper/source/property/propertysetinfo.cxx @@ -131,7 +131,7 @@ Property PropertyMapImpl::getPropertyByName( const OUString& aName ) throw( Unkn PropertyMap::iterator aIter = maPropertyMap.find( aName ); if( maPropertyMap.end() == aIter ) - throw UnknownPropertyException( aName, NULL ); + throw UnknownPropertyException( aName ); PropertyMapEntry const * pEntry = (*aIter).second; |