summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/servicedecl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/servicedecl.cxx')
-rw-r--r--comphelper/source/misc/servicedecl.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/comphelper/source/misc/servicedecl.cxx b/comphelper/source/misc/servicedecl.cxx
index 92e3b3ef7e44..85bb01e7d15c 100644
--- a/comphelper/source/misc/servicedecl.cxx
+++ b/comphelper/source/misc/servicedecl.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
@@ -51,7 +51,7 @@ class ServiceDecl::Factory :
public:
explicit Factory( ServiceDecl const& rServiceDecl )
: m_rServiceDecl(rServiceDecl) {}
-
+
// XServiceInfo:
virtual rtl::OUString SAL_CALL getImplementationName()
throw (uno::RuntimeException);
@@ -68,7 +68,7 @@ public:
uno::Sequence<uno::Any> const& args,
uno::Reference<uno::XComponentContext> const& xContext )
throw (uno::Exception);
-
+
private:
virtual ~Factory();
@@ -128,7 +128,7 @@ bool ServiceDecl::writeInfo( registry::XRegistryKey * xKey ) const
try {
uno::Reference<registry::XRegistryKey> const xNewKey(
xKey->createKey( buf.makeStringAndClear() ) );
-
+
rtl::OString const str(m_pServiceNames);
sal_Int32 nIndex = 0;
do {
@@ -138,7 +138,7 @@ bool ServiceDecl::writeInfo( registry::XRegistryKey * xKey ) const
RTL_TEXTENCODING_ASCII_US ) );
}
while (nIndex >= 0);
-
+
bRet = true;
}
catch (registry::InvalidRegistryException const&) {
@@ -161,8 +161,8 @@ void * ServiceDecl::getFactory( sal_Char const* pImplName ) const
uno::Sequence<rtl::OUString> ServiceDecl::getSupportedServiceNames() const
{
std::vector<rtl::OUString> vec;
-
- rtl::OString const str(m_pServiceNames);
+
+ rtl::OString const str(m_pServiceNames);
sal_Int32 nIndex = 0;
do {
rtl::OString const token( str.getToken( 0, m_cDelim, nIndex ) );
@@ -170,7 +170,7 @@ uno::Sequence<rtl::OUString> ServiceDecl::getSupportedServiceNames() const
RTL_TEXTENCODING_ASCII_US ) );
}
while (nIndex >= 0);
-
+
return comphelper::containerToSequence(vec);
}