summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 22:39:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 07:23:27 -0600
commitc99a1994889ac68164030459cad87241ef236276 (patch)
treed3efa602a41d80393f7bf8f6745e8b4b4cd70428 /ucbhelper/source/provider
parent3dd72c19eb2d640c48973f235578ed4cc5dab566 (diff)
Remove visual noise from ucbhelper
Change-Id: Id9396eca64069f2f0ba636ac9efa090f121afdd3 Reviewed-on: https://gerrit.libreoffice.org/8330 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucbhelper/source/provider')
-rw-r--r--ucbhelper/source/provider/cancelcommandexecution.cxx4
-rw-r--r--ucbhelper/source/provider/contentidentifier.cxx64
-rw-r--r--ucbhelper/source/provider/contentinfo.cxx122
-rw-r--r--ucbhelper/source/provider/interactionrequest.cxx418
-rw-r--r--ucbhelper/source/provider/propertyvalueset.cxx134
-rw-r--r--ucbhelper/source/provider/registerucb.cxx8
-rw-r--r--ucbhelper/source/provider/resultset.cxx284
-rw-r--r--ucbhelper/source/provider/resultsethelper.cxx78
-rw-r--r--ucbhelper/source/provider/resultsetmetadata.cxx80
-rw-r--r--ucbhelper/source/provider/simpleauthenticationrequest.cxx6
-rw-r--r--ucbhelper/source/provider/simplecertificatevalidationrequest.cxx2
-rw-r--r--ucbhelper/source/provider/simpleinteractionrequest.cxx4
-rw-r--r--ucbhelper/source/provider/simpleioerrorrequest.cxx2
-rw-r--r--ucbhelper/source/provider/simplenameclashresolverequest.cxx2
14 files changed, 604 insertions, 604 deletions
diff --git a/ucbhelper/source/provider/cancelcommandexecution.cxx b/ucbhelper/source/provider/cancelcommandexecution.cxx
index 2f4e42e2c0a4..fecfb5d8a2ab 100644
--- a/ucbhelper/source/provider/cancelcommandexecution.cxx
+++ b/ucbhelper/source/provider/cancelcommandexecution.cxx
@@ -39,7 +39,7 @@ using namespace com::sun::star;
namespace ucbhelper
{
-//=========================================================================
+
void cancelCommandExecution( const uno::Any & rException,
const uno::Reference<
ucb::XCommandEnvironment > & xEnv )
@@ -80,7 +80,7 @@ void cancelCommandExecution( const uno::Any & rException,
}
-//=========================================================================
+
void cancelCommandExecution( const ucb::IOErrorCode eError,
const uno::Sequence< uno::Any > & rArgs,
const uno::Reference<
diff --git a/ucbhelper/source/provider/contentidentifier.cxx b/ucbhelper/source/provider/contentidentifier.cxx
index ece3f0afaea7..265d639b09b8 100644
--- a/ucbhelper/source/provider/contentidentifier.cxx
+++ b/ucbhelper/source/provider/contentidentifier.cxx
@@ -36,13 +36,13 @@ using namespace com::sun::star::ucb;
namespace ucbhelper
{
-//=========================================================================
-//=========================================================================
-//
+
+
+
// struct ContentIdentifier_Impl.
-//
-//=========================================================================
-//=========================================================================
+
+
+
struct ContentIdentifier_Impl
{
@@ -53,11 +53,11 @@ struct ContentIdentifier_Impl
ContentIdentifier_Impl( const OUString& rURL );
};
-//=========================================================================
-//
+
+
// ContentIdentifier_Impl Implementation.
-//
-//=========================================================================
+
+
ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
{
@@ -74,45 +74,45 @@ ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
}
}
-//=========================================================================
-//
+
+
// ContentIdentifier Implementation.
-//
-//=========================================================================
+
+
ContentIdentifier::ContentIdentifier( const OUString& rURL )
{
m_pImpl = new ContentIdentifier_Impl( rURL );
}
-//=========================================================================
+
// virtual
ContentIdentifier::~ContentIdentifier()
{
delete m_pImpl;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
-//=========================================================================
+
+
+
// virtual
void SAL_CALL ContentIdentifier::acquire() throw()
{
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL ContentIdentifier::release() throw()
{
OWeakObject::release();
}
-//=========================================================================
+
// virtual
Any SAL_CALL
ContentIdentifier::queryInterface( const Type & rType )
@@ -125,11 +125,11 @@ ContentIdentifier::queryInterface( const Type & rType )
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
Sequence< sal_Int8 > SAL_CALL
@@ -149,7 +149,7 @@ ContentIdentifier::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
Sequence< com::sun::star::uno::Type > SAL_CALL
ContentIdentifier::getTypes()
@@ -172,11 +172,11 @@ ContentIdentifier::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XContentIdentifier methods.
-//
-//=========================================================================
+
+
// virtual
OUString SAL_CALL ContentIdentifier::getContentIdentifier()
@@ -185,7 +185,7 @@ OUString SAL_CALL ContentIdentifier::getContentIdentifier()
return m_pImpl->m_aContentId;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ContentIdentifier::getContentProviderScheme()
throw( RuntimeException )
diff --git a/ucbhelper/source/provider/contentinfo.cxx b/ucbhelper/source/provider/contentinfo.cxx
index feb31f7b7ec0..bb4de6e758f8 100644
--- a/ucbhelper/source/provider/contentinfo.cxx
+++ b/ucbhelper/source/provider/contentinfo.cxx
@@ -32,13 +32,13 @@
using namespace com::sun::star;
-//=========================================================================
-//=========================================================================
-//
+
+
+
// PropertySetInfo Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
namespace ucbhelper {
@@ -51,38 +51,38 @@ PropertySetInfo::PropertySetInfo(
{
}
-//=========================================================================
+
// virtual
PropertySetInfo::~PropertySetInfo()
{
delete m_pProps;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( PropertySetInfo,
lang::XTypeProvider,
beans::XPropertySetInfo );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
lang::XTypeProvider,
beans::XPropertySetInfo );
-//=========================================================================
-//
+
+
// XPropertySetInfo methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
@@ -93,9 +93,9 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
osl::MutexGuard aGuard( m_aMutex );
if ( !m_pProps )
{
- //////////////////////////////////////////////////////////////
+
// Get info for core ( native) properties.
- //////////////////////////////////////////////////////////////
+
try
{
@@ -112,9 +112,9 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
m_pProps = new uno::Sequence< beans::Property >( 0 );
}
- //////////////////////////////////////////////////////////////
+
// Get info for additional properties.
- //////////////////////////////////////////////////////////////
+
uno::Reference< com::sun::star::ucb::XPersistentPropertySet >
xSet ( m_pContent->getAdditionalPropertySet( false ) );
@@ -148,7 +148,7 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
return *m_pProps;
}
-//=========================================================================
+
// virtual
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
const OUString& aName )
@@ -161,7 +161,7 @@ beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
throw beans::UnknownPropertyException();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
const OUString& Name )
@@ -171,11 +171,11 @@ sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
return queryProperty( Name, aProp );
}
-//=========================================================================
-//
+
+
// Non-Interface methods.
-//
-//=========================================================================
+
+
void PropertySetInfo::reset()
{
@@ -184,7 +184,7 @@ void PropertySetInfo::reset()
m_pProps = 0;
}
-//=========================================================================
+
bool PropertySetInfo::queryProperty(
const OUString& rName, beans::Property& rProp )
{
@@ -207,13 +207,13 @@ bool PropertySetInfo::queryProperty(
return false;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// CommandProcessorInfo Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
CommandProcessorInfo::CommandProcessorInfo(
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >& rxEnv,
@@ -224,38 +224,38 @@ CommandProcessorInfo::CommandProcessorInfo(
{
}
-//=========================================================================
+
// virtual
CommandProcessorInfo::~CommandProcessorInfo()
{
delete m_pCommands;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( CommandProcessorInfo,
lang::XTypeProvider,
com::sun::star::ucb::XCommandInfo );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( CommandProcessorInfo,
lang::XTypeProvider,
com::sun::star::ucb::XCommandInfo );
-//=========================================================================
-//
+
+
// XCommandInfo methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< com::sun::star::ucb::CommandInfo > SAL_CALL
@@ -267,9 +267,9 @@ CommandProcessorInfo::getCommands()
osl::MutexGuard aGuard( m_aMutex );
if ( !m_pCommands )
{
- //////////////////////////////////////////////////////////////
+
// Get info for commands.
- //////////////////////////////////////////////////////////////
+
try
{
@@ -294,7 +294,7 @@ CommandProcessorInfo::getCommands()
return *m_pCommands;
}
-//=========================================================================
+
// virtual
com::sun::star::ucb::CommandInfo SAL_CALL
CommandProcessorInfo::getCommandInfoByName(
@@ -309,7 +309,7 @@ CommandProcessorInfo::getCommandInfoByName(
throw com::sun::star::ucb::UnsupportedCommandException();
}
-//=========================================================================
+
// virtual
com::sun::star::ucb::CommandInfo SAL_CALL
CommandProcessorInfo::getCommandInfoByHandle( sal_Int32 Handle )
@@ -323,7 +323,7 @@ CommandProcessorInfo::getCommandInfoByHandle( sal_Int32 Handle )
throw com::sun::star::ucb::UnsupportedCommandException();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByName(
const OUString& Name )
@@ -333,7 +333,7 @@ sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByName(
return queryCommand( Name, aInfo );
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByHandle( sal_Int32 Handle )
throw( uno::RuntimeException )
@@ -342,11 +342,11 @@ sal_Bool SAL_CALL CommandProcessorInfo::hasCommandByHandle( sal_Int32 Handle )
return queryCommand( Handle, aInfo );
}
-//=========================================================================
-//
+
+
// Non-Interface methods.
-//
-//=========================================================================
+
+
void CommandProcessorInfo::reset()
{
@@ -356,7 +356,7 @@ void CommandProcessorInfo::reset()
}
-//=========================================================================
+
bool CommandProcessorInfo::queryCommand(
const OUString& rName,
com::sun::star::ucb::CommandInfo& rCommand )
@@ -381,7 +381,7 @@ bool CommandProcessorInfo::queryCommand(
return false;
}
-//=========================================================================
+
bool CommandProcessorInfo::queryCommand(
sal_Int32 nHandle,
com::sun::star::ucb::CommandInfo& rCommand )
diff --git a/ucbhelper/source/provider/interactionrequest.cxx b/ucbhelper/source/provider/interactionrequest.cxx
index 4e06dfea7448..96df2b6ac470 100644
--- a/ucbhelper/source/provider/interactionrequest.cxx
+++ b/ucbhelper/source/provider/interactionrequest.cxx
@@ -30,13 +30,13 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionRequest Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
namespace ucbhelper
{
@@ -56,32 +56,32 @@ struct InteractionRequest_Impl
}
-//=========================================================================
+
InteractionRequest::InteractionRequest()
: m_pImpl( new InteractionRequest_Impl )
{
}
-//=========================================================================
+
InteractionRequest::InteractionRequest( const uno::Any & rRequest )
: m_pImpl( new InteractionRequest_Impl( rRequest ) )
{
}
-//=========================================================================
+
// virtual
InteractionRequest::~InteractionRequest()
{
delete m_pImpl;
}
-//=========================================================================
+
void InteractionRequest::setRequest( const uno::Any & rRequest )
{
m_pImpl->m_aRequest = rRequest;
}
-//=========================================================================
+
void InteractionRequest::setContinuations(
const uno::Sequence< uno::Reference<
task::XInteractionContinuation > > & rContinuations )
@@ -89,25 +89,25 @@ void InteractionRequest::setContinuations(
m_pImpl->m_aContinuations = rContinuations;
}
-//=========================================================================
+
rtl::Reference< InteractionContinuation >
InteractionRequest::getSelection() const
{
return m_pImpl->m_xSelection;
}
-//=========================================================================
+
void InteractionRequest::setSelection(
const rtl::Reference< InteractionContinuation > & rxSelection )
{
m_pImpl->m_xSelection = rxSelection;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionRequest::acquire()
@@ -116,7 +116,7 @@ void SAL_CALL InteractionRequest::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionRequest::release()
throw()
@@ -124,7 +124,7 @@ void SAL_CALL InteractionRequest::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionRequest::queryInterface( const uno::Type & rType )
@@ -137,11 +137,11 @@ InteractionRequest::queryInterface( const uno::Type & rType )
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
@@ -160,7 +160,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRequest::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes()
throw( uno::RuntimeException )
@@ -182,11 +182,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionRequest::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionRequest methods.
-//
-//=========================================================================
+
+
// virtual
uno::Any SAL_CALL InteractionRequest::getRequest()
@@ -195,7 +195,7 @@ uno::Any SAL_CALL InteractionRequest::getRequest()
return m_pImpl->m_aRequest;
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Reference< task::XInteractionContinuation > > SAL_CALL
InteractionRequest::getContinuations()
@@ -204,13 +204,13 @@ InteractionRequest::getContinuations()
return m_pImpl->m_aContinuations;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionContinuation Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
namespace ucbhelper
{
@@ -225,39 +225,39 @@ struct InteractionContinuation_Impl
}
-//=========================================================================
+
InteractionContinuation::InteractionContinuation(
InteractionRequest * pRequest )
: m_pImpl( new InteractionContinuation_Impl( pRequest ) )
{
}
-//=========================================================================
+
// virtual
InteractionContinuation::~InteractionContinuation()
{
delete m_pImpl;
}
-//=========================================================================
+
void InteractionContinuation::recordSelection()
{
m_pImpl->m_pRequest->setSelection( this );
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionAbort Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionAbort::acquire()
@@ -266,7 +266,7 @@ void SAL_CALL InteractionAbort::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionAbort::release()
throw()
@@ -274,7 +274,7 @@ void SAL_CALL InteractionAbort::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionAbort::queryInterface( const uno::Type & rType )
@@ -289,11 +289,11 @@ InteractionAbort::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
@@ -312,7 +312,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionAbort::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionAbort::getTypes()
throw( uno::RuntimeException )
@@ -334,11 +334,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionAbort::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionAbort::select()
@@ -347,19 +347,19 @@ void SAL_CALL InteractionAbort::select()
recordSelection();
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionRetry Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionRetry::acquire()
@@ -368,7 +368,7 @@ void SAL_CALL InteractionRetry::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionRetry::release()
throw()
@@ -376,7 +376,7 @@ void SAL_CALL InteractionRetry::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionRetry::queryInterface( const uno::Type & rType )
@@ -391,11 +391,11 @@ InteractionRetry::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
@@ -414,7 +414,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionRetry::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionRetry::getTypes()
throw( uno::RuntimeException )
@@ -436,11 +436,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionRetry::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionRetry::select()
@@ -449,19 +449,19 @@ void SAL_CALL InteractionRetry::select()
recordSelection();
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionApprove Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionApprove::acquire()
@@ -470,7 +470,7 @@ void SAL_CALL InteractionApprove::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionApprove::release()
throw()
@@ -478,7 +478,7 @@ void SAL_CALL InteractionApprove::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionApprove::queryInterface( const uno::Type & rType )
@@ -493,11 +493,11 @@ InteractionApprove::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
@@ -516,7 +516,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionApprove::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionApprove::getTypes()
throw( uno::RuntimeException )
@@ -538,11 +538,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionApprove::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionApprove::select()
@@ -551,19 +551,19 @@ void SAL_CALL InteractionApprove::select()
recordSelection();
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionDisapprove Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionDisapprove::acquire()
@@ -572,7 +572,7 @@ void SAL_CALL InteractionDisapprove::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionDisapprove::release()
throw()
@@ -580,7 +580,7 @@ void SAL_CALL InteractionDisapprove::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionDisapprove::queryInterface( const uno::Type & rType )
@@ -595,11 +595,11 @@ InteractionDisapprove::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
@@ -618,7 +618,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionDisapprove::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionDisapprove::getTypes()
throw( uno::RuntimeException )
@@ -640,11 +640,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionDisapprove::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionDisapprove::select()
@@ -653,19 +653,19 @@ void SAL_CALL InteractionDisapprove::select()
recordSelection();
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionSupplyAuthentication Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionSupplyAuthentication::acquire()
@@ -674,7 +674,7 @@ void SAL_CALL InteractionSupplyAuthentication::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionSupplyAuthentication::release()
throw()
@@ -682,7 +682,7 @@ void SAL_CALL InteractionSupplyAuthentication::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionSupplyAuthentication::queryInterface( const uno::Type & rType )
@@ -698,11 +698,11 @@ InteractionSupplyAuthentication::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL
@@ -722,7 +722,7 @@ InteractionSupplyAuthentication::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyAuthentication::getTypes()
throw( uno::RuntimeException )
@@ -745,11 +745,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionSupplyAuthentication::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionSupplyAuthentication::select()
@@ -758,11 +758,11 @@ void SAL_CALL InteractionSupplyAuthentication::select()
recordSelection();
}
-//=========================================================================
-//
+
+
// XInteractionSupplyAuthentication methods.
-//
-//=========================================================================
+
+
// virtual
sal_Bool SAL_CALL
@@ -772,7 +772,7 @@ InteractionSupplyAuthentication::canSetRealm()
return m_bCanSetRealm;
}
-//=========================================================================
+
// virtual
void SAL_CALL
InteractionSupplyAuthentication::setRealm( const OUString& Realm )
@@ -785,7 +785,7 @@ InteractionSupplyAuthentication::setRealm( const OUString& Realm )
m_aRealm = Realm;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL
InteractionSupplyAuthentication::canSetUserName()
@@ -794,7 +794,7 @@ InteractionSupplyAuthentication::canSetUserName()
return m_bCanSetUserName;
}
-//=========================================================================
+
// virtual
void SAL_CALL
InteractionSupplyAuthentication::setUserName( const OUString& UserName )
@@ -807,7 +807,7 @@ InteractionSupplyAuthentication::setUserName( const OUString& UserName )
m_aUserName = UserName;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL
InteractionSupplyAuthentication::canSetPassword()
@@ -816,7 +816,7 @@ InteractionSupplyAuthentication::canSetPassword()
return m_bCanSetPassword;
}
-//=========================================================================
+
// virtual
void SAL_CALL
InteractionSupplyAuthentication::setPassword( const OUString& Password )
@@ -829,7 +829,7 @@ InteractionSupplyAuthentication::setPassword( const OUString& Password )
m_aPassword = Password;
}
-//=========================================================================
+
// virtual
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
InteractionSupplyAuthentication::getRememberPasswordModes(
@@ -840,7 +840,7 @@ InteractionSupplyAuthentication::getRememberPasswordModes(
return m_aRememberPasswordModes;
}
-//=========================================================================
+
// virtual
void SAL_CALL
InteractionSupplyAuthentication::setRememberPassword(
@@ -850,7 +850,7 @@ InteractionSupplyAuthentication::setRememberPassword(
m_eRememberPasswordMode = Remember;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL
InteractionSupplyAuthentication::canSetAccount()
@@ -859,7 +859,7 @@ InteractionSupplyAuthentication::canSetAccount()
return m_bCanSetAccount;
}
-//=========================================================================
+
// virtual
void SAL_CALL
InteractionSupplyAuthentication::setAccount( const OUString& Account )
@@ -872,7 +872,7 @@ InteractionSupplyAuthentication::setAccount( const OUString& Account )
m_aAccount = Account;
}
-//=========================================================================
+
// virtual
uno::Sequence< ucb::RememberAuthentication > SAL_CALL
InteractionSupplyAuthentication::getRememberAccountModes(
@@ -883,7 +883,7 @@ InteractionSupplyAuthentication::getRememberAccountModes(
return m_aRememberAccountModes;
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionSupplyAuthentication::setRememberAccount(
ucb::RememberAuthentication Remember )
@@ -892,11 +892,11 @@ void SAL_CALL InteractionSupplyAuthentication::setRememberAccount(
m_eRememberAccountMode = Remember;
}
-//=========================================================================
-//
+
+
// XInteractionSupplyAuthentication2 methods.
-//
-//=========================================================================
+
+
// virtual
::sal_Bool SAL_CALL
@@ -908,7 +908,7 @@ InteractionSupplyAuthentication::canUseSystemCredentials(
return m_bCanUseSystemCredentials;
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionSupplyAuthentication::setUseSystemCredentials(
::sal_Bool UseSystemCredentials )
@@ -919,19 +919,19 @@ void SAL_CALL InteractionSupplyAuthentication::setUseSystemCredentials(
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionSupplyName Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionSupplyName::acquire()
@@ -940,7 +940,7 @@ void SAL_CALL InteractionSupplyName::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionSupplyName::release()
throw()
@@ -948,7 +948,7 @@ void SAL_CALL InteractionSupplyName::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionSupplyName::queryInterface( const uno::Type & rType )
@@ -963,11 +963,11 @@ InteractionSupplyName::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
@@ -986,7 +986,7 @@ uno::Sequence< sal_Int8 > SAL_CALL InteractionSupplyName::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionSupplyName::getTypes()
throw( uno::RuntimeException )
@@ -1008,11 +1008,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionSupplyName::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionSupplyName::select()
@@ -1021,11 +1021,11 @@ void SAL_CALL InteractionSupplyName::select()
recordSelection();
}
-//=========================================================================
-//
+
+
// XInteractionSupplyName methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL
@@ -1035,19 +1035,19 @@ InteractionSupplyName::setName( const OUString& Name )
m_aName = Name;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InteractionReplaceExistingData Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionReplaceExistingData::acquire()
@@ -1056,7 +1056,7 @@ void SAL_CALL InteractionReplaceExistingData::acquire()
OWeakObject::acquire();
}
-//=========================================================================
+
// virtual
void SAL_CALL InteractionReplaceExistingData::release()
throw()
@@ -1064,7 +1064,7 @@ void SAL_CALL InteractionReplaceExistingData::release()
OWeakObject::release();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL
InteractionReplaceExistingData::queryInterface( const uno::Type & rType )
@@ -1079,11 +1079,11 @@ InteractionReplaceExistingData::queryInterface( const uno::Type & rType )
? aRet : InteractionContinuation::queryInterface( rType );
}
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL
@@ -1103,7 +1103,7 @@ InteractionReplaceExistingData::getImplementationId()
return (*pId).getImplementationId();
}
-//=========================================================================
+
// virtual
uno::Sequence< uno::Type > SAL_CALL InteractionReplaceExistingData::getTypes()
throw( uno::RuntimeException )
@@ -1126,11 +1126,11 @@ uno::Sequence< uno::Type > SAL_CALL InteractionReplaceExistingData::getTypes()
return (*pCollection).getTypes();
}
-//=========================================================================
-//
+
+
// XInteractionContinuation methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL InteractionReplaceExistingData::select()
diff --git a/ucbhelper/source/provider/propertyvalueset.cxx b/ucbhelper/source/provider/propertyvalueset.cxx
index c0ab9002bfc1..bdb96324b584 100644
--- a/ucbhelper/source/provider/propertyvalueset.cxx
+++ b/ucbhelper/source/provider/propertyvalueset.cxx
@@ -47,11 +47,11 @@ using namespace com::sun::star::util;
namespace ucbhelper_impl
{
-//=========================================================================
-//
+
+
// PropertyValue.
-//
-//=========================================================================
+
+
const sal_uInt32 NO_VALUE_SET = 0x00000000;
const sal_uInt32 STRING_VALUE_SET = 0x00000001;
@@ -121,11 +121,11 @@ using namespace ucbhelper_impl;
namespace ucbhelper
{
-//=========================================================================
-//
+
+
// class PropertyValues.
-//
-//=========================================================================
+
+
typedef std::vector< ucbhelper_impl::PropertyValue > PropertyValuesVector;
@@ -133,11 +133,11 @@ class PropertyValues : public PropertyValuesVector {};
} // namespace ucbhelper
-//=========================================================================
-//
+
+
// Welcome to the macro hell...
-//
-//=========================================================================
+
+
#define GETVALUE_IMPL_TYPE( _type_, _type_name_, _member_name_, _cppu_type_ ) \
\
@@ -242,15 +242,15 @@ class PropertyValues : public PropertyValuesVector {};
namespace ucbhelper {
-//=========================================================================
-//=========================================================================
-//
+
+
+
// PropertyValueSet Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
+
+
+
+
PropertyValueSet::PropertyValueSet(
const Reference< XComponentContext >& rxContext )
: m_xContext( rxContext ),
@@ -261,40 +261,40 @@ PropertyValueSet::PropertyValueSet(
{
}
-//=========================================================================
+
// virtual
PropertyValueSet::~PropertyValueSet()
{
delete m_pValues;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_3( PropertyValueSet,
XTypeProvider,
XRow,
XColumnLocate );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_3( PropertyValueSet,
XTypeProvider,
XRow,
XColumnLocate );
-//=========================================================================
-//
+
+
// XRow methods.
-//
-//=========================================================================
+
+
// virtual
sal_Bool SAL_CALL PropertyValueSet::wasNull()
@@ -306,7 +306,7 @@ sal_Bool SAL_CALL PropertyValueSet::wasNull()
return m_bWasNull;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL PropertyValueSet::getString( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -314,7 +314,7 @@ OUString SAL_CALL PropertyValueSet::getString( sal_Int32 columnIndex )
GETVALUE_IMPL( OUString, STRING_VALUE_SET, aString );
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -323,7 +323,7 @@ sal_Bool SAL_CALL PropertyValueSet::getBoolean( sal_Int32 columnIndex )
bool, BOOLEAN_VALUE_SET, bBoolean, getCppuBooleanType() );
}
-//=========================================================================
+
// virtual
sal_Int8 SAL_CALL PropertyValueSet::getByte( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -331,7 +331,7 @@ sal_Int8 SAL_CALL PropertyValueSet::getByte( sal_Int32 columnIndex )
GETVALUE_IMPL( sal_Int8, BYTE_VALUE_SET, nByte );
}
-//=========================================================================
+
// virtual
sal_Int16 SAL_CALL PropertyValueSet::getShort( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -339,7 +339,7 @@ sal_Int16 SAL_CALL PropertyValueSet::getShort( sal_Int32 columnIndex )
GETVALUE_IMPL( sal_Int16, SHORT_VALUE_SET, nShort );
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL PropertyValueSet::getInt( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -347,7 +347,7 @@ sal_Int32 SAL_CALL PropertyValueSet::getInt( sal_Int32 columnIndex )
GETVALUE_IMPL( sal_Int32, INT_VALUE_SET, nInt );
}
-//=========================================================================
+
// virtual
sal_Int64 SAL_CALL PropertyValueSet::getLong( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -355,7 +355,7 @@ sal_Int64 SAL_CALL PropertyValueSet::getLong( sal_Int32 columnIndex )
GETVALUE_IMPL( sal_Int64, LONG_VALUE_SET, nLong );
}
-//=========================================================================
+
// virtual
float SAL_CALL PropertyValueSet::getFloat( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -363,7 +363,7 @@ float SAL_CALL PropertyValueSet::getFloat( sal_Int32 columnIndex )
GETVALUE_IMPL( float, FLOAT_VALUE_SET, nFloat );
}
-//=========================================================================
+
// virtual
double SAL_CALL PropertyValueSet::getDouble( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -371,7 +371,7 @@ double SAL_CALL PropertyValueSet::getDouble( sal_Int32 columnIndex )
GETVALUE_IMPL( double, DOUBLE_VALUE_SET, nDouble );
}
-//=========================================================================
+
// virtual
Sequence< sal_Int8 > SAL_CALL
PropertyValueSet::getBytes( sal_Int32 columnIndex )
@@ -380,7 +380,7 @@ PropertyValueSet::getBytes( sal_Int32 columnIndex )
GETVALUE_IMPL( Sequence< sal_Int8 >, BYTES_VALUE_SET, aBytes );
}
-//=========================================================================
+
// virtual
Date SAL_CALL PropertyValueSet::getDate( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -388,7 +388,7 @@ Date SAL_CALL PropertyValueSet::getDate( sal_Int32 columnIndex )
GETVALUE_IMPL( Date, DATE_VALUE_SET, aDate );
}
-//=========================================================================
+
// virtual
Time SAL_CALL PropertyValueSet::getTime( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -396,7 +396,7 @@ Time SAL_CALL PropertyValueSet::getTime( sal_Int32 columnIndex )
GETVALUE_IMPL( Time, TIME_VALUE_SET, aTime );
}
-//=========================================================================
+
// virtual
DateTime SAL_CALL PropertyValueSet::getTimestamp( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -404,7 +404,7 @@ DateTime SAL_CALL PropertyValueSet::getTimestamp( sal_Int32 columnIndex )
GETVALUE_IMPL( DateTime, TIMESTAMP_VALUE_SET, aTimestamp );
}
-//=========================================================================
+
// virtual
Reference< XInputStream > SAL_CALL
PropertyValueSet::getBinaryStream( sal_Int32 columnIndex )
@@ -414,7 +414,7 @@ PropertyValueSet::getBinaryStream( sal_Int32 columnIndex )
Reference< XInputStream >, BINARYSTREAM_VALUE_SET, xBinaryStream );
}
-//=========================================================================
+
// virtual
Reference< XInputStream > SAL_CALL
PropertyValueSet::getCharacterStream( sal_Int32 columnIndex )
@@ -424,7 +424,7 @@ PropertyValueSet::getCharacterStream( sal_Int32 columnIndex )
Reference< XInputStream >, CHARACTERSTREAM_VALUE_SET, xCharacterStream );
}
-//=========================================================================
+
// virtual
Any SAL_CALL PropertyValueSet::getObject(
sal_Int32 columnIndex,
@@ -554,7 +554,7 @@ Any SAL_CALL PropertyValueSet::getObject(
return aValue;
}
-//=========================================================================
+
// virtual
Reference< XRef > SAL_CALL PropertyValueSet::getRef( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -562,7 +562,7 @@ Reference< XRef > SAL_CALL PropertyValueSet::getRef( sal_Int32 columnIndex )
GETVALUE_IMPL( Reference< XRef >, REF_VALUE_SET, xRef );
}
-//=========================================================================
+
// virtual
Reference< XBlob > SAL_CALL PropertyValueSet::getBlob( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -570,7 +570,7 @@ Reference< XBlob > SAL_CALL PropertyValueSet::getBlob( sal_Int32 columnIndex )
GETVALUE_IMPL( Reference< XBlob >, BLOB_VALUE_SET, xBlob );
}
-//=========================================================================
+
// virtual
Reference< XClob > SAL_CALL PropertyValueSet::getClob( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -578,7 +578,7 @@ Reference< XClob > SAL_CALL PropertyValueSet::getClob( sal_Int32 columnIndex )
GETVALUE_IMPL( Reference< XClob >, CLOB_VALUE_SET, xClob );
}
-//=========================================================================
+
// virtual
Reference< XArray > SAL_CALL PropertyValueSet::getArray( sal_Int32 columnIndex )
throw( SQLException, RuntimeException )
@@ -586,11 +586,11 @@ Reference< XArray > SAL_CALL PropertyValueSet::getArray( sal_Int32 columnIndex )
GETVALUE_IMPL( Reference< XArray >, ARRAY_VALUE_SET, xArray );
}
-//=========================================================================
-//
+
+
// XColumnLocate methods.
-//
-//=========================================================================
+
+
// virtual
sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
@@ -610,11 +610,11 @@ sal_Int32 SAL_CALL PropertyValueSet::findColumn( const OUString& columnName )
return 0;
}
-//=========================================================================
-//
+
+
// Non-interface methods.
-//
-//=========================================================================
+
+
const Reference< XTypeConverter >& PropertyValueSet::getTypeConverter()
{
@@ -632,48 +632,48 @@ const Reference< XTypeConverter >& PropertyValueSet::getTypeConverter()
return m_xTypeConverter;
}
-//=========================================================================
+
void PropertyValueSet::appendString( const OUString& rPropName,
const OUString& rValue )
{
SETVALUE_IMPL( rPropName, STRING_VALUE_SET, aString, rValue );
}
-//=========================================================================
+
void PropertyValueSet::appendBoolean( const OUString& rPropName,
bool bValue )
{
SETVALUE_IMPL( rPropName, BOOLEAN_VALUE_SET, bBoolean, bValue );
}
-//=========================================================================
+
void PropertyValueSet::appendLong( const OUString& rPropName,
sal_Int64 nValue )
{
SETVALUE_IMPL( rPropName, LONG_VALUE_SET, nLong, nValue );
}
-//=========================================================================
+
void PropertyValueSet::appendTimestamp( const OUString& rPropName,
const DateTime& rValue )
{
SETVALUE_IMPL( rPropName, TIMESTAMP_VALUE_SET, aTimestamp, rValue );
}
-//=========================================================================
+
void PropertyValueSet::appendObject( const OUString& rPropName,
const Any& rValue )
{
SETVALUE_IMPL( rPropName, OBJECT_VALUE_SET, aObject, rValue );
}
-//=========================================================================
+
void PropertyValueSet::appendVoid( const OUString& rPropName )
{
SETVALUE_IMPL( rPropName, NO_VALUE_SET, aObject, Any() );
}
-//=========================================================================
+
void PropertyValueSet::appendPropertySet(
const Reference< XPropertySet >& rxSet )
{
@@ -743,7 +743,7 @@ void PropertyValueSet::appendPropertySet(
}
}
-//=========================================================================
+
bool PropertyValueSet::appendPropertySetValue(
const Reference< XPropertySet >& rxSet,
const Property& rProperty )
diff --git a/ucbhelper/source/provider/registerucb.cxx b/ucbhelper/source/provider/registerucb.cxx
index a7b4384d61b1..5016155d6a9e 100644
--- a/ucbhelper/source/provider/registerucb.cxx
+++ b/ucbhelper/source/provider/registerucb.cxx
@@ -33,11 +33,11 @@ using namespace com::sun::star;
namespace ucbhelper {
-//============================================================================
-//
+
+
// registerAtUcb
-//
-//============================================================================
+
+
bool
registerAtUcb(
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx
index 662fc1c3995c..799910351e93 100644
--- a/ucbhelper/source/provider/resultset.cxx
+++ b/ucbhelper/source/provider/resultset.cxx
@@ -31,7 +31,7 @@
using namespace com::sun::star;
-//=========================================================================
+
namespace ucbhelper_impl
{
@@ -75,11 +75,11 @@ static const PropertyInfo aPropertyTable[] =
#define RESULTSET_PROPERTY_COUNT 2
-//=========================================================================
-//
+
+
// class PropertySetInfo
-//
-//=========================================================================
+
+
class PropertySetInfo :
public cppu::OWeakObject,
@@ -114,11 +114,11 @@ public:
throw( uno::RuntimeException );
};
-//=========================================================================
-//
+
+
// PropertyChangeListenerContainer.
-//
-//=========================================================================
+
+
typedef cppu::OMultiTypeInterfaceContainerHelperVar
<
@@ -126,11 +126,11 @@ typedef cppu::OMultiTypeInterfaceContainerHelperVar
OUStringHash
> PropertyChangeListenerContainer;
-//=========================================================================
-//
+
+
// class PropertyChangeListeners.
-//
-//=========================================================================
+
+
class PropertyChangeListeners : public PropertyChangeListenerContainer
{
@@ -146,11 +146,11 @@ using namespace ucbhelper_impl;
namespace ucbhelper
{
-//=========================================================================
-//
+
+
// struct ResultSet_Impl.
-//
-//=========================================================================
+
+
struct ResultSet_Impl
{
@@ -193,20 +193,20 @@ inline ResultSet_Impl::ResultSet_Impl(
{
}
-//=========================================================================
+
inline ResultSet_Impl::~ResultSet_Impl()
{
delete m_pDisposeEventListeners;
delete m_pPropertyChangeListeners;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ResultSet Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
ResultSet::ResultSet(
const uno::Reference< uno::XComponentContext >& rxContext,
@@ -221,7 +221,7 @@ ResultSet::ResultSet(
rDataSupplier->m_pResultSet = this;
}
-//=========================================================================
+
ResultSet::ResultSet(
const uno::Reference< uno::XComponentContext >& rxContext,
const uno::Sequence< beans::Property >& rProperties,
@@ -232,18 +232,18 @@ ResultSet::ResultSet(
rDataSupplier->m_pResultSet = this;
}
-//=========================================================================
+
// virtual
ResultSet::~ResultSet()
{
delete m_pImpl;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_9( ResultSet,
lang::XTypeProvider,
@@ -256,11 +256,11 @@ XINTERFACE_IMPL_9( ResultSet,
sdbc::XCloseable,
beans::XPropertySet );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_9( ResultSet,
lang::XTypeProvider,
@@ -273,21 +273,21 @@ XTYPEPROVIDER_IMPL_9( ResultSet,
sdbc::XCloseable,
beans::XPropertySet );
-//=========================================================================
-//
+
+
// XServiceInfo methods.
-//
-//=========================================================================
+
+
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSet,
OUString("ResultSet"),
OUString(RESULTSET_SERVICE_NAME ) );
-//=========================================================================
-//
+
+
// XComponent methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ResultSet::dispose()
@@ -313,7 +313,7 @@ void SAL_CALL ResultSet::dispose()
m_pImpl->m_xDataSupplier->close();
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::addEventListener(
const uno::Reference< lang::XEventListener >& Listener )
@@ -328,7 +328,7 @@ void SAL_CALL ResultSet::addEventListener(
m_pImpl->m_pDisposeEventListeners->addInterface( Listener );
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::removeEventListener(
const uno::Reference< lang::XEventListener >& Listener )
@@ -340,11 +340,11 @@ void SAL_CALL ResultSet::removeEventListener(
m_pImpl->m_pDisposeEventListeners->removeInterface( Listener );
}
-//=========================================================================
-//
+
+
// XResultSetMetaDataSupplier methods.
-//
-//=========================================================================
+
+
// virtual
uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSet::getMetaData()
@@ -359,11 +359,11 @@ uno::Reference< sdbc::XResultSetMetaData > SAL_CALL ResultSet::getMetaData()
return m_pImpl->m_xMetaData;
}
-//=========================================================================
-//
+
+
// XResultSet methods.
-//
-//=========================================================================
+
+
// virtual
sal_Bool SAL_CALL ResultSet::next()
@@ -393,7 +393,7 @@ sal_Bool SAL_CALL ResultSet::next()
return sal_True;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::isBeforeFirst()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -415,7 +415,7 @@ sal_Bool SAL_CALL ResultSet::isBeforeFirst()
return ( m_pImpl->m_nPos == 0 );
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::isAfterLast()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -424,7 +424,7 @@ sal_Bool SAL_CALL ResultSet::isAfterLast()
return m_pImpl->m_bAfterLast;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::isFirst()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -439,7 +439,7 @@ sal_Bool SAL_CALL ResultSet::isFirst()
return ( m_pImpl->m_nPos == 1 );
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::isLast()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -461,7 +461,7 @@ sal_Bool SAL_CALL ResultSet::isLast()
return ( m_pImpl->m_nPos == nCount );
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::beforeFirst()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -472,7 +472,7 @@ void SAL_CALL ResultSet::beforeFirst()
m_pImpl->m_xDataSupplier->validate();
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::afterLast()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -482,7 +482,7 @@ void SAL_CALL ResultSet::afterLast()
m_pImpl->m_xDataSupplier->validate();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::first()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -501,7 +501,7 @@ sal_Bool SAL_CALL ResultSet::first()
return sal_False;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::last()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -520,7 +520,7 @@ sal_Bool SAL_CALL ResultSet::last()
return sal_False;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSet::getRow()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -535,7 +535,7 @@ sal_Int32 SAL_CALL ResultSet::getRow()
return m_pImpl->m_nPos;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -608,7 +608,7 @@ sal_Bool SAL_CALL ResultSet::absolute( sal_Int32 row )
// unreachable...
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -678,7 +678,7 @@ sal_Bool SAL_CALL ResultSet::relative( sal_Int32 rows )
// unreachable...
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::previous()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -708,7 +708,7 @@ sal_Bool SAL_CALL ResultSet::previous()
return sal_False;
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::refreshRow()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -721,7 +721,7 @@ void SAL_CALL ResultSet::refreshRow()
m_pImpl->m_xDataSupplier->validate();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::rowUpdated()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -730,7 +730,7 @@ sal_Bool SAL_CALL ResultSet::rowUpdated()
return sal_False;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::rowInserted()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -739,7 +739,7 @@ sal_Bool SAL_CALL ResultSet::rowInserted()
return sal_False;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::rowDeleted()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -748,7 +748,7 @@ sal_Bool SAL_CALL ResultSet::rowDeleted()
return sal_False;
}
-//=========================================================================
+
// virtual
uno::Reference< uno::XInterface > SAL_CALL ResultSet::getStatement()
throw( sdbc::SQLException, uno::RuntimeException )
@@ -761,11 +761,11 @@ uno::Reference< uno::XInterface > SAL_CALL ResultSet::getStatement()
return uno::Reference< uno::XInterface >();
}
-//=========================================================================
-//
+
+
// XRow methods.
-//
-//=========================================================================
+
+
// virtual
sal_Bool SAL_CALL ResultSet::wasNull()
@@ -791,7 +791,7 @@ sal_Bool SAL_CALL ResultSet::wasNull()
return m_pImpl->m_bWasNull;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSet::getString( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -814,7 +814,7 @@ OUString SAL_CALL ResultSet::getString( sal_Int32 columnIndex )
return OUString();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSet::getBoolean( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -837,7 +837,7 @@ sal_Bool SAL_CALL ResultSet::getBoolean( sal_Int32 columnIndex )
return sal_False;
}
-//=========================================================================
+
// virtual
sal_Int8 SAL_CALL ResultSet::getByte( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -860,7 +860,7 @@ sal_Int8 SAL_CALL ResultSet::getByte( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
sal_Int16 SAL_CALL ResultSet::getShort( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -883,7 +883,7 @@ sal_Int16 SAL_CALL ResultSet::getShort( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSet::getInt( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -906,7 +906,7 @@ sal_Int32 SAL_CALL ResultSet::getInt( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
sal_Int64 SAL_CALL ResultSet::getLong( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -929,7 +929,7 @@ sal_Int64 SAL_CALL ResultSet::getLong( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
float SAL_CALL ResultSet::getFloat( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -952,7 +952,7 @@ float SAL_CALL ResultSet::getFloat( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
double SAL_CALL ResultSet::getDouble( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -975,7 +975,7 @@ double SAL_CALL ResultSet::getDouble( sal_Int32 columnIndex )
return 0;
}
-//=========================================================================
+
// virtual
uno::Sequence< sal_Int8 > SAL_CALL
ResultSet::getBytes( sal_Int32 columnIndex )
@@ -999,7 +999,7 @@ ResultSet::getBytes( sal_Int32 columnIndex )
return uno::Sequence< sal_Int8 >();
}
-//=========================================================================
+
// virtual
util::Date SAL_CALL ResultSet::getDate( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -1022,7 +1022,7 @@ util::Date SAL_CALL ResultSet::getDate( sal_Int32 columnIndex )
return util::Date();
}
-//=========================================================================
+
// virtual
util::Time SAL_CALL ResultSet::getTime( sal_Int32 columnIndex )
throw( sdbc::SQLException, uno::RuntimeException )
@@ -1045,7 +1045,7 @@ util::Time SAL_CALL ResultSet::getTime( sal_Int32 columnIndex )
return util::Time();
}
-//=========================================================================
+
// virtual
util::DateTime SAL_CALL
ResultSet::getTimestamp( sal_Int32 columnIndex )
@@ -1069,7 +1069,7 @@ ResultSet::getTimestamp( sal_Int32 columnIndex )
return util::DateTime();
}
-//=========================================================================
+
// virtual
uno::Reference< io::XInputStream > SAL_CALL
ResultSet::getBinaryStream( sal_Int32 columnIndex )
@@ -1093,7 +1093,7 @@ ResultSet::getBinaryStream( sal_Int32 columnIndex )
return uno::Reference< io::XInputStream >();
}
-//=========================================================================
+
// virtual
uno::Reference< io::XInputStream > SAL_CALL
ResultSet::getCharacterStream( sal_Int32 columnIndex )
@@ -1117,7 +1117,7 @@ ResultSet::getCharacterStream( sal_Int32 columnIndex )
return uno::Reference< io::XInputStream >();
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL ResultSet::getObject(
sal_Int32 columnIndex,
@@ -1142,7 +1142,7 @@ uno::Any SAL_CALL ResultSet::getObject(
return uno::Any();
}
-//=========================================================================
+
// virtual
uno::Reference< sdbc::XRef > SAL_CALL
ResultSet::getRef( sal_Int32 columnIndex )
@@ -1166,7 +1166,7 @@ ResultSet::getRef( sal_Int32 columnIndex )
return uno::Reference< sdbc::XRef >();
}
-//=========================================================================
+
// virtual
uno::Reference< sdbc::XBlob > SAL_CALL
ResultSet::getBlob( sal_Int32 columnIndex )
@@ -1190,7 +1190,7 @@ ResultSet::getBlob( sal_Int32 columnIndex )
return uno::Reference< sdbc::XBlob >();
}
-//=========================================================================
+
// virtual
uno::Reference< sdbc::XClob > SAL_CALL
ResultSet::getClob( sal_Int32 columnIndex )
@@ -1214,7 +1214,7 @@ ResultSet::getClob( sal_Int32 columnIndex )
return uno::Reference< sdbc::XClob >();
}
-//=========================================================================
+
// virtual
uno::Reference< sdbc::XArray > SAL_CALL
ResultSet::getArray( sal_Int32 columnIndex )
@@ -1238,11 +1238,11 @@ ResultSet::getArray( sal_Int32 columnIndex )
return uno::Reference< sdbc::XArray >();
}
-//=========================================================================
-//
+
+
// XCloseable methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ResultSet::close()
@@ -1252,11 +1252,11 @@ void SAL_CALL ResultSet::close()
m_pImpl->m_xDataSupplier->validate();
}
-//=========================================================================
-//
+
+
// XContentAccess methods.
-//
-//=========================================================================
+
+
// virtual
OUString SAL_CALL ResultSet::queryContentIdentifierString()
@@ -1269,7 +1269,7 @@ OUString SAL_CALL ResultSet::queryContentIdentifierString()
return OUString();
}
-//=========================================================================
+
// virtual
uno::Reference< com::sun::star::ucb::XContentIdentifier > SAL_CALL
ResultSet::queryContentIdentifier()
@@ -1282,7 +1282,7 @@ ResultSet::queryContentIdentifier()
return uno::Reference< com::sun::star::ucb::XContentIdentifier >();
}
-//=========================================================================
+
// virtual
uno::Reference< com::sun::star::ucb::XContent > SAL_CALL
ResultSet::queryContent()
@@ -1294,11 +1294,11 @@ ResultSet::queryContent()
return uno::Reference< com::sun::star::ucb::XContent >();
}
-//=========================================================================
-//
+
+
// XPropertySet methods.
-//
-//=========================================================================
+
+
// virtual
uno::Reference< beans::XPropertySetInfo > SAL_CALL
@@ -1314,7 +1314,7 @@ ResultSet::getPropertySetInfo()
return m_pImpl->m_xPropSetInfo;
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::setPropertyValue( const OUString& aPropertyName,
const uno::Any& )
@@ -1345,7 +1345,7 @@ void SAL_CALL ResultSet::setPropertyValue( const OUString& aPropertyName,
}
}
-//=========================================================================
+
// virtual
uno::Any SAL_CALL ResultSet::getPropertyValue(
const OUString& PropertyName )
@@ -1376,7 +1376,7 @@ uno::Any SAL_CALL ResultSet::getPropertyValue(
return aValue;
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::addPropertyChangeListener(
const OUString& aPropertyName,
@@ -1404,7 +1404,7 @@ void SAL_CALL ResultSet::addPropertyChangeListener(
aPropertyName, xListener );
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::removePropertyChangeListener(
const OUString& aPropertyName,
@@ -1428,7 +1428,7 @@ void SAL_CALL ResultSet::removePropertyChangeListener(
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::addVetoableChangeListener(
const OUString&,
@@ -1440,7 +1440,7 @@ void SAL_CALL ResultSet::addVetoableChangeListener(
// No constrained props, at the moment.
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSet::removeVetoableChangeListener(
const OUString&,
@@ -1452,11 +1452,11 @@ void SAL_CALL ResultSet::removeVetoableChangeListener(
// No constrained props, at the moment.
}
-//=========================================================================
-//
+
+
// Non-interface methods.
-//
-//=========================================================================
+
+
void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt )
{
@@ -1495,7 +1495,7 @@ void ResultSet::propertyChanged( const beans::PropertyChangeEvent& rEvt )
}
}
-//=========================================================================
+
void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew )
{
OSL_ENSURE( nOld < nNew, "ResultSet::rowCountChanged - nOld >= nNew!" );
@@ -1513,7 +1513,7 @@ void ResultSet::rowCountChanged( sal_uInt32 nOld, sal_uInt32 nNew )
uno::makeAny( nNew ) ) ); // new value
}
-//=========================================================================
+
void ResultSet::rowCountFinal()
{
if ( !m_pImpl->m_pPropertyChangeListeners )
@@ -1529,13 +1529,13 @@ void ResultSet::rowCountFinal()
uno::makeAny( sal_True ) ) ); // new value
}
-//=========================================================================
+
const uno::Sequence< beans::Property >& ResultSet::getProperties()
{
return m_pImpl->m_aProperties;
}
-//=========================================================================
+
const uno::Reference< com::sun::star::ucb::XCommandEnvironment >&
ResultSet::getEnvironment()
{
@@ -1546,13 +1546,13 @@ ResultSet::getEnvironment()
namespace ucbhelper_impl {
-//=========================================================================
-//=========================================================================
-//
+
+
+
// PropertySetInfo Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
PropertySetInfo::PropertySetInfo(
const PropertyInfo* pProps,
@@ -1579,38 +1579,38 @@ PropertySetInfo::PropertySetInfo(
}
}
-//=========================================================================
+
// virtual
PropertySetInfo::~PropertySetInfo()
{
delete m_pProps;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( PropertySetInfo,
lang::XTypeProvider,
beans::XPropertySetInfo );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( PropertySetInfo,
lang::XTypeProvider,
beans::XPropertySetInfo );
-//=========================================================================
-//
+
+
// XPropertySetInfo methods.
-//
-//=========================================================================
+
+
// virtual
uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
@@ -1619,7 +1619,7 @@ uno::Sequence< beans::Property > SAL_CALL PropertySetInfo::getProperties()
return uno::Sequence< beans::Property >( *m_pProps );
}
-//=========================================================================
+
// virtual
beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
const OUString& aName )
@@ -1632,7 +1632,7 @@ beans::Property SAL_CALL PropertySetInfo::getPropertyByName(
throw beans::UnknownPropertyException();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
const OUString& Name )
@@ -1642,7 +1642,7 @@ sal_Bool SAL_CALL PropertySetInfo::hasPropertyByName(
return queryProperty( Name, aProp );
}
-//=========================================================================
+
bool PropertySetInfo::queryProperty(
const OUString& aName, beans::Property& rProp )
{
diff --git a/ucbhelper/source/provider/resultsethelper.cxx b/ucbhelper/source/provider/resultsethelper.cxx
index c0618c871f47..3ca28b621592 100644
--- a/ucbhelper/source/provider/resultsethelper.cxx
+++ b/ucbhelper/source/provider/resultsethelper.cxx
@@ -38,17 +38,17 @@
using namespace com::sun::star;
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ResultSetImplHelper Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
namespace ucbhelper {
-//=========================================================================
+
ResultSetImplHelper::ResultSetImplHelper(
const uno::Reference< uno::XComponentContext >& rxContext,
const com::sun::star::ucb::OpenCommandArgument2& rCommand )
@@ -60,18 +60,18 @@ ResultSetImplHelper::ResultSetImplHelper(
{
}
-//=========================================================================
+
// virtual
ResultSetImplHelper::~ResultSetImplHelper()
{
delete m_pDisposeEventListeners;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_4( ResultSetImplHelper,
lang::XTypeProvider,
@@ -79,22 +79,22 @@ XINTERFACE_IMPL_4( ResultSetImplHelper,
lang::XComponent, /* base of XDynamicResultSet */
com::sun::star::ucb::XDynamicResultSet );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_3( ResultSetImplHelper,
lang::XTypeProvider,
lang::XServiceInfo,
com::sun::star::ucb::XDynamicResultSet );
-//=========================================================================
-//
+
+
// XServiceInfo methods.
-//
-//=========================================================================
+
+
XSERVICEINFO_NOFACTORY_IMPL_1( ResultSetImplHelper,
OUString(
@@ -102,11 +102,11 @@ XSERVICEINFO_NOFACTORY_IMPL_1( ResultSetImplHelper,
OUString(
DYNAMICRESULTSET_SERVICE_NAME ) );
-//=========================================================================
-//
+
+
// XComponent methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ResultSetImplHelper::dispose()
@@ -122,7 +122,7 @@ void SAL_CALL ResultSetImplHelper::dispose()
}
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSetImplHelper::addEventListener(
const uno::Reference< lang::XEventListener >& Listener )
@@ -137,7 +137,7 @@ void SAL_CALL ResultSetImplHelper::addEventListener(
m_pDisposeEventListeners->addInterface( Listener );
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSetImplHelper::removeEventListener(
const uno::Reference< lang::XEventListener >& Listener )
@@ -149,11 +149,11 @@ void SAL_CALL ResultSetImplHelper::removeEventListener(
m_pDisposeEventListeners->removeInterface( Listener );
}
-//=========================================================================
-//
+
+
// XDynamicResultSet methods.
-//
-//=========================================================================
+
+
// virtual
uno::Reference< sdbc::XResultSet > SAL_CALL
@@ -170,7 +170,7 @@ ResultSetImplHelper::getStaticResultSet()
return m_xResultSet1;
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSetImplHelper::setListener(
const uno::Reference< com::sun::star::ucb::XDynamicResultSetListener >&
@@ -185,9 +185,9 @@ void SAL_CALL ResultSetImplHelper::setListener(
m_xListener = Listener;
- //////////////////////////////////////////////////////////////////////
+
// Create "welcome event" and send it to listener.
- //////////////////////////////////////////////////////////////////////
+
// Note: We only have the implementation for a static result set at the
// moment (src590). The dynamic result sets passed to the listener
@@ -215,7 +215,7 @@ void SAL_CALL ResultSetImplHelper::setListener(
static_cast< cppu::OWeakObject * >( this ), aActions ) );
}
-//=========================================================================
+
// virtual
sal_Int16 SAL_CALL ResultSetImplHelper::getCapabilities()
throw( uno::RuntimeException )
@@ -224,7 +224,7 @@ sal_Int16 SAL_CALL ResultSetImplHelper::getCapabilities()
return 0;
}
-//=========================================================================
+
// virtual
void SAL_CALL ResultSetImplHelper::connectToCache(
const uno::Reference< com::sun::star::ucb::XDynamicResultSet > &
@@ -267,11 +267,11 @@ void SAL_CALL ResultSetImplHelper::connectToCache(
throw com::sun::star::ucb::ServiceNotFoundException();
}
-//=========================================================================
-//
+
+
// Non-interface methods.
-//
-//=========================================================================
+
+
void ResultSetImplHelper::init( bool bStatic )
{
diff --git a/ucbhelper/source/provider/resultsetmetadata.cxx b/ucbhelper/source/provider/resultsetmetadata.cxx
index 6ef6ce6711b2..3bfe80d47ae4 100644
--- a/ucbhelper/source/provider/resultsetmetadata.cxx
+++ b/ucbhelper/source/provider/resultsetmetadata.cxx
@@ -74,13 +74,13 @@ using namespace ucbhelper_impl;
namespace ucbhelper {
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ResultSetMetaData Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
ResultSetMetaData::ResultSetMetaData(
const Reference< XComponentContext >& rxContext,
@@ -93,7 +93,7 @@ ResultSetMetaData::ResultSetMetaData(
{
}
-//=========================================================================
+
ResultSetMetaData::ResultSetMetaData(
const Reference< XComponentContext >& rxContext,
const Sequence< Property >& rProps,
@@ -107,38 +107,38 @@ ResultSetMetaData::ResultSetMetaData(
"ResultSetMetaData ctor - different array sizes!" );
}
-//=========================================================================
+
// virtual
ResultSetMetaData::~ResultSetMetaData()
{
delete m_pImpl;
}
-//=========================================================================
-//
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( ResultSetMetaData,
XTypeProvider,
XResultSetMetaData );
-//=========================================================================
-//
+
+
// XTypeProvider methods.
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( ResultSetMetaData,
XTypeProvider,
XResultSetMetaData );
-//=========================================================================
-//
+
+
// XResultSetMetaData methods.
-//
-//=========================================================================
+
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount()
@@ -147,7 +147,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnCount()
return m_aProps.getLength();
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -163,7 +163,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isAutoIncrement( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isAutoIncrement;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isCaseSensitive( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -174,7 +174,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isCaseSensitive( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isCaseSensitive;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isSearchable( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -190,7 +190,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isSearchable( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isSearchable;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isCurrency( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -205,7 +205,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isCurrency( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isCurrency;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::isNullable( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -221,7 +221,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::isNullable( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isNullable;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isSigned( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -236,7 +236,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isSigned( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isSigned;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -251,7 +251,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].columnDisplaySize;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getColumnLabel( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -271,7 +271,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnLabel( sal_Int32 column )
return m_aProps.getConstArray()[ column - 1 ].Name;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getColumnName( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -286,7 +286,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnName( sal_Int32 column )
return m_aProps.getConstArray()[ column - 1 ].Name;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getSchemaName( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -304,7 +304,7 @@ OUString SAL_CALL ResultSetMetaData::getSchemaName( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].schemaName;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::getPrecision( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -323,7 +323,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getPrecision( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].precision;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::getScale( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -339,7 +339,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getScale( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].scale;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getTableName( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -357,7 +357,7 @@ OUString SAL_CALL ResultSetMetaData::getTableName( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].tableName;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getCatalogName( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -375,7 +375,7 @@ OUString SAL_CALL ResultSetMetaData::getCatalogName( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].catalogName;
}
-//=========================================================================
+
// virtual
sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -483,7 +483,7 @@ sal_Int32 SAL_CALL ResultSetMetaData::getColumnType( sal_Int32 column )
return nType;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getColumnTypeName( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -501,7 +501,7 @@ OUString SAL_CALL ResultSetMetaData::getColumnTypeName( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].columnTypeName;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isReadOnly( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -517,7 +517,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isReadOnly( sal_Int32 column )
m_pImpl->m_aColumnData[ column - 1 ].isReadOnly;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isWritable( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -531,7 +531,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isWritable( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isWritable;
}
-//=========================================================================
+
// virtual
sal_Bool SAL_CALL ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
throw( SQLException, RuntimeException )
@@ -545,7 +545,7 @@ sal_Bool SAL_CALL ResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
return m_pImpl->m_aColumnData[ column - 1 ].isDefinitelyWritable;
}
-//=========================================================================
+
// virtual
OUString SAL_CALL ResultSetMetaData::getColumnServiceName( sal_Int32 column )
throw( SQLException, RuntimeException )
diff --git a/ucbhelper/source/provider/simpleauthenticationrequest.cxx b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
index ea036be0816b..cdaa80ab81f1 100644
--- a/ucbhelper/source/provider/simpleauthenticationrequest.cxx
+++ b/ucbhelper/source/provider/simpleauthenticationrequest.cxx
@@ -24,7 +24,7 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
+
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
const OUString & rURL,
const OUString & rServerName,
@@ -64,7 +64,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
bAllowUseSystemCredentials );
}
-//=========================================================================
+
SimpleAuthenticationRequest::SimpleAuthenticationRequest(
const OUString & rURL,
const OUString & rServerName,
@@ -107,7 +107,7 @@ SimpleAuthenticationRequest::SimpleAuthenticationRequest(
false );
}
-//=========================================================================
+
void SimpleAuthenticationRequest::initialize(
const ucb::URLAuthenticationRequest & rRequest,
bool bCanSetRealm,
diff --git a/ucbhelper/source/provider/simplecertificatevalidationrequest.cxx b/ucbhelper/source/provider/simplecertificatevalidationrequest.cxx
index f80e4bf1cd07..2e9d21e93206 100644
--- a/ucbhelper/source/provider/simplecertificatevalidationrequest.cxx
+++ b/ucbhelper/source/provider/simplecertificatevalidationrequest.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
+
SimpleCertificateValidationRequest::SimpleCertificateValidationRequest( const sal_Int32 & lCertificateValidity,
const com::sun::star::uno::Reference<com::sun::star::security::XCertificate> pCertificate,
const OUString & hostname)
diff --git a/ucbhelper/source/provider/simpleinteractionrequest.cxx b/ucbhelper/source/provider/simpleinteractionrequest.cxx
index c592c5993607..01a541726fa6 100644
--- a/ucbhelper/source/provider/simpleinteractionrequest.cxx
+++ b/ucbhelper/source/provider/simpleinteractionrequest.cxx
@@ -22,7 +22,7 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
+
SimpleInteractionRequest::SimpleInteractionRequest(
const uno::Any & rRequest,
const sal_Int32 nContinuations )
@@ -86,7 +86,7 @@ SimpleInteractionRequest::SimpleInteractionRequest(
setContinuations( aContinuations );
}
-//=========================================================================
+
sal_Int32 SimpleInteractionRequest::getResponse() const
{
rtl::Reference< InteractionContinuation > xSelection = getSelection();
diff --git a/ucbhelper/source/provider/simpleioerrorrequest.cxx b/ucbhelper/source/provider/simpleioerrorrequest.cxx
index fd859fa5c7eb..41492a225750 100644
--- a/ucbhelper/source/provider/simpleioerrorrequest.cxx
+++ b/ucbhelper/source/provider/simpleioerrorrequest.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
+
SimpleIOErrorRequest::SimpleIOErrorRequest(
const ucb::IOErrorCode eError,
const uno::Sequence< uno::Any > & rArgs,
diff --git a/ucbhelper/source/provider/simplenameclashresolverequest.cxx b/ucbhelper/source/provider/simplenameclashresolverequest.cxx
index eb0c001d73cc..b5d8b8567558 100644
--- a/ucbhelper/source/provider/simplenameclashresolverequest.cxx
+++ b/ucbhelper/source/provider/simplenameclashresolverequest.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
using namespace ucbhelper;
-//=========================================================================
+
SimpleNameClashResolveRequest::SimpleNameClashResolveRequest(
const OUString & rTargetFolderURL,
const OUString & rClashingName,