summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc/tdoc_storage.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-24 21:31:32 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-24 21:31:32 +0100
commit8da928423add3fdb94baee2a3f3fa053390f828e (patch)
treec88a9cf749de00b0271b06697881a1e44139c761 /ucb/source/ucp/tdoc/tdoc_storage.cxx
parentd31bf8bf5524af62b48e59179ef7c2afc5096682 (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)
Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_storage.cxx')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_storage.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_storage.cxx b/ucb/source/ucp/tdoc/tdoc_storage.cxx
index 5b84469822c6..5b8abeff2db9 100644
--- a/ucb/source/ucp/tdoc/tdoc_storage.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_storage.cxx
@@ -413,15 +413,14 @@ uno::Reference< embed::XStorage > StorageElementFactory::queryStorage(
{
if ( eMode == READ_WRITE_CREATE )
throw lang::IllegalArgumentException(
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
+ rtl::OUString(
"Invalid open mode: document storages cannot be "
- "created!" ) ),
+ "created!" ),
uno::Reference< uno::XInterface >(),
sal_Int16( 2 ) );
else
throw embed::InvalidStorageException(
- rtl::OUString(
- "Invalid document id!" ),
+ rtl::OUString( "Invalid document id!" ),
uno::Reference< uno::XInterface >() );
}