summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/prov.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-21 08:29:53 +0200
committerNoel Grandin <noel@peralex.com>2014-05-22 07:54:55 +0200
commit985f2b8b407e1359b67419d702a18cd60c5a23b8 (patch)
tree8772fdf0cfd531e30b482707b7e73192a6c5107a /ucb/source/ucp/file/prov.cxx
parentc03efa7c6c28a7c7f3dc2c45c9c56412e270fb5d (diff)
remove unnecessary use of OUString constructor
Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
Diffstat (limited to 'ucb/source/ucp/file/prov.cxx')
-rw-r--r--ucb/source/ucp/file/prov.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx
index ac5b6e4336aa..be3fc1155872 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( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
+ throw IllegalIdentifierException( THROW_WHERE, uno::Reference< uno::XInterface >() );
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( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
+ throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() );
}
@@ -478,7 +478,7 @@ FileProvider::setPropertyValue( const OUString& aPropertyName,
aPropertyName.equalsAscii( "HostName" ) )
return;
else
- throw UnknownPropertyException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
+ throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() );
}
@@ -510,7 +510,7 @@ FileProvider::getPropertyValue(
return aAny;
}
else
- throw UnknownPropertyException( OUString(THROW_WHERE), uno::Reference< uno::XInterface >() );
+ throw UnknownPropertyException( THROW_WHERE, uno::Reference< uno::XInterface >() );
}