diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-23 12:03:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-23 15:06:00 +0200 |
commit | e7bc3cab019fbf040f9fb8b53ae2cf3f977d200b (patch) | |
tree | bc507bccee9fb71134e362b72d22991561e32aa0 /ucb/source/ucp/file/prov.cxx | |
parent | add default value for Context param in uno::Exception constructors (diff) | |
download | core-e7bc3cab019fbf040f9fb8b53ae2cf3f977d200b.tar.gz core-e7bc3cab019fbf040f9fb8b53ae2cf3f977d200b.zip |
remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.
Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
Diffstat (limited to 'ucb/source/ucp/file/prov.cxx')
-rw-r--r-- | ucb/source/ucp/file/prov.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index be3fc1155872..95400bdc577a 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -205,7 +205,7 @@ FileProvider::queryContent( aUnc ); if( err ) - throw IllegalIdentifierException( THROW_WHERE, uno::Reference< uno::XInterface >() ); + throw IllegalIdentifierException( THROW_WHERE ); return Reference< XContent >( new BaseContent( m_pMyShell,xIdentifier,aUnc ) ); } @@ -396,7 +396,7 @@ XPropertySetInfoImpl2::getPropertyByName( if( m_seq[i].Name == aName ) return m_seq[i]; - throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() ); + throw UnknownPropertyException( THROW_WHERE ); } @@ -478,7 +478,7 @@ FileProvider::setPropertyValue( const OUString& aPropertyName, aPropertyName.equalsAscii( "HostName" ) ) return; else - throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() ); + throw UnknownPropertyException( THROW_WHERE ); } @@ -510,7 +510,7 @@ FileProvider::getPropertyValue( return aAny; } else - throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() ); + throw UnknownPropertyException( THROW_WHERE ); } |