summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/tdoc
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
parentd31bf8bf5524af62b48e59179ef7c2afc5096682 (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in ucb(ucp)
Change-Id: Iae4ea99e6eff6de8db3d40a6b86e5fd28ff857d0
Diffstat (limited to 'ucb/source/ucp/tdoc')
-rw-r--r--ucb/source/ucp/tdoc/tdoc_docmgr.cxx2
-rw-r--r--ucb/source/ucp/tdoc/tdoc_provider.cxx6
-rw-r--r--ucb/source/ucp/tdoc/tdoc_storage.cxx7
3 files changed, 6 insertions, 9 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
index b0e03e8ac664..26704485b7d1 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.cxx
@@ -599,7 +599,7 @@ bool OfficeDocumentsManager::isHelpDocument(
return false;
::rtl::OUString sURL( xModel->getURL() );
- if ( sURL.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "vnd.sun.star.help://" ) ) )
+ if ( sURL.match( "vnd.sun.star.help://" ) )
return true;
return false;
diff --git a/ucb/source/ucp/tdoc/tdoc_provider.cxx b/ucb/source/ucp/tdoc/tdoc_provider.cxx
index 6993d2e143ab..329426fa2f8d 100644
--- a/ucb/source/ucp/tdoc/tdoc_provider.cxx
+++ b/ucb/source/ucp/tdoc/tdoc_provider.cxx
@@ -97,10 +97,8 @@ XTYPEPROVIDER_IMPL_4( ContentProvider,
XSERVICEINFO_IMPL_1_CTX(
ContentProvider,
- rtl::OUString(
- "com.sun.star.comp.ucb.TransientDocumentsContentProvider" ),
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- TDOC_CONTENT_PROVIDER_SERVICE_NAME ) ) );
+ OUString( "com.sun.star.comp.ucb.TransientDocumentsContentProvider" ),
+ OUString( TDOC_CONTENT_PROVIDER_SERVICE_NAME ) );
//=========================================================================
//
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 >() );
}