summaryrefslogtreecommitdiff
path: root/cpputools/source/regsingleton/regsingleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools/source/regsingleton/regsingleton.cxx')
-rw-r--r--cpputools/source/regsingleton/regsingleton.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpputools/source/regsingleton/regsingleton.cxx b/cpputools/source/regsingleton/regsingleton.cxx
index 05fc7dafe67a..b98e9e1799e5 100644
--- a/cpputools/source/regsingleton/regsingleton.cxx
+++ b/cpputools/source/regsingleton/regsingleton.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
@@ -77,7 +77,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
insert_entry = false;
++nPos;
}
-
+
OUString sys_path( OUString::createFromAscii( argv[ nPos ] ) );
OUString file_url;
oslFileError rc = osl_getFileURLFromSystemPath( sys_path.pData, &file_url.pData );
@@ -87,7 +87,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
return 1;
}
++nPos;
-
+
try
{
Reference< registry::XSimpleRegistry > xSimReg( ::cppu::createSimpleRegistry() );
@@ -114,7 +114,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
Reference< registry::XRegistryKey > xKey( xRoot->openKey( OUSTR("SINGLETONS") ) );
if (! xKey.is())
xKey = xRoot->createKey( OUSTR("SINGLETONS") );
-
+
for ( ; nPos < argc; ++nPos )
{
OUString singleton( OUString::createFromAscii( argv[ nPos ] ) );
@@ -125,7 +125,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
service = singleton.copy( eq +1 );
singleton = singleton.copy( 0, eq );
}
-
+
if (insert_entry)
{
if (service.getLength())
@@ -162,7 +162,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
}
}
}
-
+
return 0;
}
catch (Exception & rExc)