summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updateprotocoltest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updateprotocoltest.cxx')
-rw-r--r--extensions/source/update/check/updateprotocoltest.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/extensions/source/update/check/updateprotocoltest.cxx b/extensions/source/update/check/updateprotocoltest.cxx
index bbcd225019c6..c9fe2f33c0eb 100644
--- a/extensions/source/update/check/updateprotocoltest.cxx
+++ b/extensions/source/update/check/updateprotocoltest.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
@@ -48,7 +48,7 @@ SAL_IMPLEMENT_MAIN()
{
(void) argv;
(void) argc;
-
+
if( osl_getCommandArgCount() != 0 )
{
fprintf(stderr, "Usage: updateprotocoltest\n");
@@ -57,19 +57,19 @@ 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 );
-
-
+
+
rtl::OUString aURL;
rtl::OUString aVersion;
@@ -77,7 +77,7 @@ SAL_IMPLEMENT_MAIN()
{
if( checkForUpdates(rComponentContext, uno::Reference< task::XInteractionHandler > (), aURL, aVersion) )
{
- OSL_TRACE( "Update found: %s on %s",
+ OSL_TRACE( "Update found: %s on %s",
rtl::OUStringToOString( aVersion, RTL_TEXTENCODING_UTF8).getStr(),
rtl::OUStringToOString( aURL, RTL_TEXTENCODING_UTF8).getStr());
}
@@ -90,7 +90,7 @@ SAL_IMPLEMENT_MAIN()
{
OSL_TRACE( "unhandled exception caught" );
}
-
+
return 0;
}