summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-25 09:25:22 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-03-25 09:25:22 +0100
commite5245ad436de01a2b08c55eb9e3c1cde81474cef (patch)
tree62419775b06e737f038d35ac5b26d4f4cae948fa /ucb
parentbc9a4c087a359e30c04d51e2b995dcf1a2678f3e (diff)
slidecopy: use vnd.sun.star.extension URL scheme for the extension UCP
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx4
-rw-r--r--ucb/source/ucp/ext/ucpext_provider.cxx6
2 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index 48027607f2..31594dd5eb 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -324,8 +324,8 @@ namespace ucb { namespace ucp { namespace ext
//------------------------------------------------------------------------------------------------------------------
bool Content::denotesRootContent( const ::rtl::OUString& i_rContentIdentifier )
{
- const sal_Char* pScheme = "vnd.oracle.ooo.extension";
- const sal_Int32 nSchemeLength = sizeof( "vnd.oracle.ooo.extension" ) - 1;
+ const sal_Char* pScheme = "vnd.sun.star.extension";
+ const sal_Int32 nSchemeLength = sizeof( "vnd.sun.star.extension" ) - 1;
ENSURE_OR_RETURN_FALSE( i_rContentIdentifier.matchAsciiL( pScheme, nSchemeLength ), "illegal content URL" );
return i_rContentIdentifier.copy( nSchemeLength ).equalsAsciiL( ":/", 2 );
}
diff --git a/ucb/source/ucp/ext/ucpext_provider.cxx b/ucb/source/ucp/ext/ucpext_provider.cxx
index dabdd8c65b..a85a3c1a11 100644
--- a/ucb/source/ucp/ext/ucpext_provider.cxx
+++ b/ucb/source/ucp/ext/ucpext_provider.cxx
@@ -113,13 +113,13 @@ namespace ucb { namespace ucp { namespace ext
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString ContentProvider::getRootURL()
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "vnd.oracle.ooo.extension:/" ) );
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.extension:/" ) );
}
//------------------------------------------------------------------------------------------------------------------
::rtl::OUString ContentProvider::getArtificialNodeContentType()
{
- return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "application/vnd.oracle.ooo.extension-content" ) );
+ return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "application/vnd.sun.star.extension-content" ) );
}
//------------------------------------------------------------------------------------------------------------------
@@ -127,7 +127,7 @@ namespace ucb { namespace ucp { namespace ext
throw( IllegalIdentifierException, RuntimeException )
{
// Check URL scheme...
- const ::rtl::OUString aScheme( rtl::OUString::createFromAscii( "vnd.oracle.ooo.extension" ) );
+ const ::rtl::OUString aScheme( rtl::OUString::createFromAscii( "vnd.sun.star.extension" ) );
if ( !i_rIdentifier->getContentProviderScheme().equalsIgnoreAsciiCase( aScheme ) )
throw IllegalIdentifierException();