summaryrefslogtreecommitdiff
path: root/stoc/source/defaultregistry
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 20:42:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 07:47:23 -0600
commit35e44118b8e55b2263bd10e8b11d9ac4e043228b (patch)
tree499003287173fc32dae7fda54324bf2fc4414c36 /stoc/source/defaultregistry
parent65d6ecfd4e69c2f6b8346e8b655914d5ac5a0286 (diff)
Remove visual noise from stoc
Change-Id: I19edfb2796298c4870124d0d1e9488974a010bb8 Reviewed-on: https://gerrit.libreoffice.org/8316 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'stoc/source/defaultregistry')
-rw-r--r--stoc/source/defaultregistry/defaultregistry.cxx104
1 files changed, 52 insertions, 52 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx
index 6c8dbb57b8ba..a1cb23112b42 100644
--- a/stoc/source/defaultregistry/defaultregistry.cxx
+++ b/stoc/source/defaultregistry/defaultregistry.cxx
@@ -88,9 +88,9 @@ protected:
};
-//*************************************************************************
+
// class NestedKeyImpl the implenetation of interface XRegistryKey
-//*************************************************************************
+
class NestedKeyImpl : public WeakImplHelper1< XRegistryKey >
{
public:
@@ -146,7 +146,7 @@ protected:
};
-//*************************************************************************
+
NestedKeyImpl::NestedKeyImpl( NestedRegistryImpl* pDefaultRegistry,
Reference<XRegistryKey>& localKey,
Reference<XRegistryKey>& defaultKey )
@@ -169,7 +169,7 @@ NestedKeyImpl::NestedKeyImpl( NestedRegistryImpl* pDefaultRegistry,
m_state = m_pRegistry->m_state;
}
-//*************************************************************************
+
NestedKeyImpl::NestedKeyImpl( const OUString& rKeyName,
NestedKeyImpl* pKey)
: m_pRegistry(pKey->m_pRegistry)
@@ -197,14 +197,14 @@ NestedKeyImpl::NestedKeyImpl( const OUString& rKeyName,
m_state = m_pRegistry->m_state;
}
-//*************************************************************************
+
NestedKeyImpl::~NestedKeyImpl()
{
if ( m_pRegistry )
m_pRegistry->release();
}
-//*************************************************************************
+
void NestedKeyImpl::computeChanges()
{
Guard< Mutex > aGuard( m_pRegistry->m_mutex );
@@ -223,9 +223,9 @@ void NestedKeyImpl::computeChanges()
}
}
-//*************************************************************************
+
// NestedKey_Impl::computeName()
-//
+
OUString NestedKeyImpl::computeName(const OUString& name)
{
OUString resLocalName, resDefaultName;
@@ -270,14 +270,14 @@ OUString NestedKeyImpl::computeName(const OUString& name)
return resLocalName;
}
-//*************************************************************************
+
OUString SAL_CALL NestedKeyImpl::getKeyName() throw(RuntimeException)
{
Guard< Mutex > aGuard( m_pRegistry->m_mutex );
return m_name;
}
-//*************************************************************************
+
sal_Bool SAL_CALL NestedKeyImpl::isReadOnly( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -290,7 +290,7 @@ sal_Bool SAL_CALL NestedKeyImpl::isReadOnly( )
throw InvalidRegistryException();
}
-//*************************************************************************
+
sal_Bool SAL_CALL NestedKeyImpl::isValid( ) throw(RuntimeException)
{
Guard< Mutex > aGuard( m_pRegistry->m_mutex );
@@ -298,7 +298,7 @@ sal_Bool SAL_CALL NestedKeyImpl::isValid( ) throw(RuntimeException)
(m_defaultKey.is() && m_defaultKey->isValid()) );
}
-//*************************************************************************
+
RegistryKeyType SAL_CALL NestedKeyImpl::getKeyType( const OUString& rKeyName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -317,7 +317,7 @@ RegistryKeyType SAL_CALL NestedKeyImpl::getKeyType( const OUString& rKeyName )
return RegistryKeyType_KEY;
}
-//*************************************************************************
+
RegistryValueType SAL_CALL NestedKeyImpl::getValueType( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -336,7 +336,7 @@ RegistryValueType SAL_CALL NestedKeyImpl::getValueType( )
return RegistryValueType_NOT_DEFINED;
}
-//*************************************************************************
+
sal_Int32 SAL_CALL NestedKeyImpl::getLongValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -357,7 +357,7 @@ sal_Int32 SAL_CALL NestedKeyImpl::getLongValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setLongValue( sal_Int32 value )
throw(InvalidRegistryException, RuntimeException)
{
@@ -381,7 +381,7 @@ void SAL_CALL NestedKeyImpl::setLongValue( sal_Int32 value )
}
}
-//*************************************************************************
+
Sequence< sal_Int32 > SAL_CALL NestedKeyImpl::getLongListValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -402,7 +402,7 @@ Sequence< sal_Int32 > SAL_CALL NestedKeyImpl::getLongListValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setLongListValue( const Sequence< sal_Int32 >& seqValue )
throw(InvalidRegistryException, RuntimeException)
{
@@ -426,7 +426,7 @@ void SAL_CALL NestedKeyImpl::setLongListValue( const Sequence< sal_Int32 >& seqV
}
}
-//*************************************************************************
+
OUString SAL_CALL NestedKeyImpl::getAsciiValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -447,7 +447,7 @@ OUString SAL_CALL NestedKeyImpl::getAsciiValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setAsciiValue( const OUString& value )
throw(InvalidRegistryException, RuntimeException)
{
@@ -471,7 +471,7 @@ void SAL_CALL NestedKeyImpl::setAsciiValue( const OUString& value )
}
}
-//*************************************************************************
+
Sequence< OUString > SAL_CALL NestedKeyImpl::getAsciiListValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -492,7 +492,7 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getAsciiListValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setAsciiListValue( const Sequence< OUString >& seqValue )
throw(InvalidRegistryException, RuntimeException)
{
@@ -516,7 +516,7 @@ void SAL_CALL NestedKeyImpl::setAsciiListValue( const Sequence< OUString >& seqV
}
}
-//*************************************************************************
+
OUString SAL_CALL NestedKeyImpl::getStringValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -537,7 +537,7 @@ OUString SAL_CALL NestedKeyImpl::getStringValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setStringValue( const OUString& value )
throw(InvalidRegistryException, RuntimeException)
{
@@ -561,7 +561,7 @@ void SAL_CALL NestedKeyImpl::setStringValue( const OUString& value )
}
}
-//*************************************************************************
+
Sequence< OUString > SAL_CALL NestedKeyImpl::getStringListValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -582,7 +582,7 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getStringListValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setStringListValue( const Sequence< OUString >& seqValue )
throw(InvalidRegistryException, RuntimeException)
{
@@ -606,7 +606,7 @@ void SAL_CALL NestedKeyImpl::setStringListValue( const Sequence< OUString >& seq
}
}
-//*************************************************************************
+
Sequence< sal_Int8 > SAL_CALL NestedKeyImpl::getBinaryValue( )
throw(InvalidRegistryException, InvalidValueException, RuntimeException)
{
@@ -627,7 +627,7 @@ Sequence< sal_Int8 > SAL_CALL NestedKeyImpl::getBinaryValue( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::setBinaryValue( const Sequence< sal_Int8 >& value )
throw(InvalidRegistryException, RuntimeException)
{
@@ -651,7 +651,7 @@ void SAL_CALL NestedKeyImpl::setBinaryValue( const Sequence< sal_Int8 >& value )
}
}
-//*************************************************************************
+
Reference< XRegistryKey > SAL_CALL NestedKeyImpl::openKey( const OUString& aKeyName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -687,7 +687,7 @@ Reference< XRegistryKey > SAL_CALL NestedKeyImpl::openKey( const OUString& aKeyN
}
}
-//*************************************************************************
+
Reference< XRegistryKey > SAL_CALL NestedKeyImpl::createKey( const OUString& aKeyName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -745,7 +745,7 @@ Reference< XRegistryKey > SAL_CALL NestedKeyImpl::createKey( const OUString& aKe
return Reference<XRegistryKey>();
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::closeKey( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -760,7 +760,7 @@ void SAL_CALL NestedKeyImpl::closeKey( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::deleteKey( const OUString& rKeyName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -783,7 +783,7 @@ void SAL_CALL NestedKeyImpl::deleteKey( const OUString& rKeyName )
}
}
-//*************************************************************************
+
Sequence< Reference< XRegistryKey > > SAL_CALL NestedKeyImpl::openKeys( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -863,7 +863,7 @@ Sequence< Reference< XRegistryKey > > SAL_CALL NestedKeyImpl::openKeys( )
return retSeq;
}
-//*************************************************************************
+
Sequence< OUString > SAL_CALL NestedKeyImpl::getKeyNames( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -930,7 +930,7 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getKeyNames( )
return retSeq;
}
-//*************************************************************************
+
sal_Bool SAL_CALL NestedKeyImpl::createLink( const OUString& aLinkName, const OUString& aLinkTarget )
throw(InvalidRegistryException, RuntimeException)
{
@@ -988,7 +988,7 @@ sal_Bool SAL_CALL NestedKeyImpl::createLink( const OUString& aLinkName, const OU
return isCreated;
}
-//*************************************************************************
+
void SAL_CALL NestedKeyImpl::deleteLink( const OUString& rLinkName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1034,7 +1034,7 @@ void SAL_CALL NestedKeyImpl::deleteLink( const OUString& rLinkName )
}
}
-//*************************************************************************
+
OUString SAL_CALL NestedKeyImpl::getLinkTarget( const OUString& rLinkName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1088,7 +1088,7 @@ OUString SAL_CALL NestedKeyImpl::getLinkTarget( const OUString& rLinkName )
return linkTarget;
}
-//*************************************************************************
+
OUString SAL_CALL NestedKeyImpl::getResolvedName( const OUString& aKeyName )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1108,16 +1108,16 @@ OUString SAL_CALL NestedKeyImpl::getResolvedName( const OUString& aKeyName )
return resolvedName;
}
-//*************************************************************************
-//
+
+
// DefaultRegistry Implementation
-//
-//*************************************************************************
+
+
NestedRegistryImpl::NestedRegistryImpl( )
: m_state(0)
{}
-//*************************************************************************
+
NestedRegistryImpl::~NestedRegistryImpl() {}
class RegistryEnumueration : public WeakImplHelper1< XEnumeration >
@@ -1184,7 +1184,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::hasElements( ) throw (RuntimeException)
-//*************************************************************************
+
OUString SAL_CALL NestedRegistryImpl::getImplementationName( )
throw(RuntimeException)
{
@@ -1205,7 +1205,7 @@ Sequence<OUString> SAL_CALL NestedRegistryImpl::getSupportedServiceNames( )
return seqNames;
}
-//*************************************************************************
+
void SAL_CALL NestedRegistryImpl::initialize( const Sequence< Any >& aArguments )
throw( Exception, RuntimeException )
{
@@ -1221,7 +1221,7 @@ void SAL_CALL NestedRegistryImpl::initialize( const Sequence< Any >& aArguments
}
}
-//*************************************************************************
+
OUString SAL_CALL NestedRegistryImpl::getURL() throw(RuntimeException)
{
Guard< Mutex > aGuard( m_mutex );
@@ -1237,7 +1237,7 @@ OUString SAL_CALL NestedRegistryImpl::getURL() throw(RuntimeException)
return OUString();
}
-//*************************************************************************
+
void SAL_CALL NestedRegistryImpl::open( const OUString&, sal_Bool, sal_Bool )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1246,7 +1246,7 @@ void SAL_CALL NestedRegistryImpl::open( const OUString&, sal_Bool, sal_Bool )
Reference< XInterface >() );
}
-//*************************************************************************
+
sal_Bool SAL_CALL NestedRegistryImpl::isValid( ) throw(RuntimeException)
{
Guard< Mutex > aGuard( m_mutex );
@@ -1263,7 +1263,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::isValid( ) throw(RuntimeException)
return sal_False;
}
-//*************************************************************************
+
void SAL_CALL NestedRegistryImpl::close( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1278,7 +1278,7 @@ void SAL_CALL NestedRegistryImpl::close( )
}
}
-//*************************************************************************
+
void SAL_CALL NestedRegistryImpl::destroy( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1287,7 +1287,7 @@ void SAL_CALL NestedRegistryImpl::destroy( )
Reference< XInterface >() );
}
-//*************************************************************************
+
Reference< XRegistryKey > SAL_CALL NestedRegistryImpl::getRootKey( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1318,7 +1318,7 @@ Reference< XRegistryKey > SAL_CALL NestedRegistryImpl::getRootKey( )
return Reference<XRegistryKey>();
}
-//*************************************************************************
+
sal_Bool SAL_CALL NestedRegistryImpl::isReadOnly( )
throw(InvalidRegistryException, RuntimeException)
{
@@ -1335,7 +1335,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::isReadOnly( )
return sal_False;
}
-//*************************************************************************
+
void SAL_CALL NestedRegistryImpl::mergeKey( const OUString& aKeyName, const OUString& aUrl )
throw(InvalidRegistryException, MergeConflictException, RuntimeException)
{