From f0ae48b684e89acd7088c31a8feff5fc03d51105 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 28 May 2014 10:25:22 +0200 Subject: remove unnecessary NULL parameter passed to UNO Exception .. now that we have a default value for that parameter Change-Id: I54d6b0a0a01ce2f2e5168ada0c427424de0477bc --- comphelper/source/property/propertycontainerhelper.cxx | 2 +- comphelper/source/property/propertysetinfo.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper/source') 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; -- cgit