summaryrefslogtreecommitdiff
path: root/extensions/source/update/feed
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/feed')
-rw-r--r--extensions/source/update/feed/test/updatefeedtest.cxx28
-rw-r--r--extensions/source/update/feed/updatefeed.cxx2
-rw-r--r--extensions/source/update/feed/updatefeed.xml6
3 files changed, 18 insertions, 18 deletions
diff --git a/extensions/source/update/feed/test/updatefeedtest.cxx b/extensions/source/update/feed/test/updatefeedtest.cxx
index a9bd65bc32d1..073eb92166ed 100644
--- a/extensions/source/update/feed/test/updatefeedtest.cxx
+++ b/extensions/source/update/feed/test/updatefeedtest.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,45 +64,45 @@ SAL_IMPLEMENT_MAIN()
// create the initial component context
uno::Reference< uno::XComponentContext > rComponentContext = cppu::defaultBootstrap_InitialComponentContext();
-
+
// initialize UCB
uno::Sequence< uno::Any > theArguments(2);
theArguments[0] = uno::makeAny( UNISTRING( "Local") );
theArguments[1] = uno::makeAny( UNISTRING( "Office") );
-
- uno::Reference< uno::XInterface > xUCB =
- rComponentContext->getServiceManager()->createInstanceWithArgumentsAndContext(
- UNISTRING( "com.sun.star.ucb.UniversalContentBroker" ),
- theArguments,
+
+ uno::Reference< uno::XInterface > xUCB =
+ rComponentContext->getServiceManager()->createInstanceWithArgumentsAndContext(
+ UNISTRING( "com.sun.star.ucb.UniversalContentBroker" ),
+ theArguments,
rComponentContext );
-
+
// retrieve the update information provider
uno::Reference< deployment::XUpdateInformationProvider > rUpdateInformationProvider =
deployment::UpdateInformationProvider::create( rComponentContext );
-
+
uno::Sequence< rtl::OUString > theURLs(1);
osl_getCommandArg( 0, &theURLs[0].pData );
// theURLs[0] = UNISTRING( "http://localhost/~olli/atomfeed.xml" );
-
+
rtl::OUString aExtension = UNISTRING( "MyExtension" );
try
{
- uno::Sequence< uno::Reference< xml::dom::XElement > > theUpdateInfo =
+ uno::Sequence< uno::Reference< xml::dom::XElement > > theUpdateInfo =
rUpdateInformationProvider->getUpdateInformation( theURLs, aExtension );
-
+
OSL_TRACE( "getUpdateInformation returns %d element(s)", theUpdateInfo.getLength() );
}
catch( const uno::Exception & e )
{
OSL_TRACE( "exception caught: %s", rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr());
}
- catch( ... )
+ catch( ... )
{
OSL_TRACE( "exception of undetermined type caught" );
}
-
+
return 0;
}
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index afc3ba1f76ed..ff1a10d86a17 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/extensions/source/update/feed/updatefeed.xml b/extensions/source/update/feed/updatefeed.xml
index 1b0557db3db2..b8606a643c93 100644
--- a/extensions/source/update/feed/updatefeed.xml
+++ b/extensions/source/update/feed/updatefeed.xml
@@ -8,13 +8,13 @@
<description> The </description>
<loader-name>com.sun.star.loader.SharedLibrary</loader-name>
<language>c++</language>
- <status value="beta"/>
- <supported-service>com.sun.star.deployment.UpdateInformationProvider</supported-service>
+ <status value="beta"/>
+ <supported-service>com.sun.star.deployment.UpdateInformationProvider</supported-service>
<service-dependency>...</service-dependency>
<type>com.sun.star.beans.NamedValue</type>
<type>com.sun.star.beans.PropertyValue</type>
<type>com.sun.star.container.XNameReplace</type>
- <type>com.sun.star.deployment.UpdateInformationProvider</type>
+ <type>com.sun.star.deployment.UpdateInformationProvider</type>
<type>com.sun.star.io.XInputStream</type>
<type>com.sun.star.io.XOutputStream</type>
<type>com.sun.star.lang.XComponent</type>