summaryrefslogtreecommitdiff
path: root/ucbhelper
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
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')
-rw-r--r--ucbhelper/source/client/activedatasink.cxx38
-rw-r--r--ucbhelper/source/client/activedatastreamer.cxx38
-rw-r--r--ucbhelper/source/client/commandenvironment.cxx52
-rw-r--r--ucbhelper/source/client/content.cxx182
-rw-r--r--ucbhelper/source/client/fileidentifierconverter.cxx24
-rw-r--r--ucbhelper/source/client/proxydecider.cxx90
-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
20 files changed, 816 insertions, 816 deletions
diff --git a/ucbhelper/source/client/activedatasink.cxx b/ucbhelper/source/client/activedatasink.cxx
index f7a844eee3b4..11ba985e6170 100644
--- a/ucbhelper/source/client/activedatasink.cxx
+++ b/ucbhelper/source/client/activedatasink.cxx
@@ -30,39 +30,39 @@ using namespace com::sun::star;
namespace ucbhelper
{
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ActiveDataSink Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( ActiveDataSink,
lang::XTypeProvider,
io::XActiveDataSink );
-//=========================================================================
-//
+
+
// XTypeProvider methods
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( ActiveDataSink,
lang::XTypeProvider,
io::XActiveDataSink );
-//=========================================================================
-//
+
+
// XActiveDataSink methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ActiveDataSink::setInputStream(
@@ -72,7 +72,7 @@ void SAL_CALL ActiveDataSink::setInputStream(
m_xStream = aStream;
}
-//=========================================================================
+
// virtual
uno::Reference< io::XInputStream > SAL_CALL ActiveDataSink::getInputStream()
throw( uno::RuntimeException )
diff --git a/ucbhelper/source/client/activedatastreamer.cxx b/ucbhelper/source/client/activedatastreamer.cxx
index 054d3c236b29..17035c6760da 100644
--- a/ucbhelper/source/client/activedatastreamer.cxx
+++ b/ucbhelper/source/client/activedatastreamer.cxx
@@ -30,39 +30,39 @@ using namespace com::sun::star;
namespace ucbhelper
{
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ActiveDataStreamer Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( ActiveDataStreamer,
lang::XTypeProvider,
io::XActiveDataStreamer );
-//=========================================================================
-//
+
+
// XTypeProvider methods
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( ActiveDataStreamer,
lang::XTypeProvider,
io::XActiveDataStreamer );
-//=========================================================================
-//
+
+
// XActiveDataStreamer methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >& xStream )
@@ -71,7 +71,7 @@ void SAL_CALL ActiveDataStreamer::setStream( const uno::Reference< io::XStream >
m_xStream = xStream;
}
-//=========================================================================
+
// virtual
uno::Reference< io::XStream > SAL_CALL ActiveDataStreamer::getStream()
throw( uno::RuntimeException )
diff --git a/ucbhelper/source/client/commandenvironment.cxx b/ucbhelper/source/client/commandenvironment.cxx
index d65d8f0746b1..ad07f2d73b4a 100644
--- a/ucbhelper/source/client/commandenvironment.cxx
+++ b/ucbhelper/source/client/commandenvironment.cxx
@@ -38,13 +38,13 @@ using namespace com::sun::star::uno;
namespace ucbhelper
{
-//=========================================================================
-//=========================================================================
-//
+
+
+
// struct CommandEnvironment_Impl.
-//
-//=========================================================================
-//=========================================================================
+
+
+
struct CommandEnvironment_Impl
{
@@ -58,13 +58,13 @@ struct CommandEnvironment_Impl
m_xProgressHandler( rxProgressHandler ) {}
};
-//=========================================================================
-//=========================================================================
-//
+
+
+
// CommandEnvironment Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
CommandEnvironment::CommandEnvironment(
const Reference< XInteractionHandler >& rxInteractionHandler,
@@ -74,38 +74,38 @@ CommandEnvironment::CommandEnvironment(
rxProgressHandler );
}
-//=========================================================================
+
// virtual
CommandEnvironment::~CommandEnvironment()
{
delete m_pImpl;
}
-//=========================================================================
-//
+
+
// XInterface methods
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( CommandEnvironment,
XTypeProvider,
XCommandEnvironment );
-//=========================================================================
-//
+
+
// XTypeProvider methods
-//
-//=========================================================================
+
+
XTYPEPROVIDER_IMPL_2( CommandEnvironment,
XTypeProvider,
XCommandEnvironment );
-//=========================================================================
-//
+
+
// XCommandEnvironemnt methods.
-//
-//=========================================================================
+
+
// virtual
Reference< XInteractionHandler > SAL_CALL
@@ -115,7 +115,7 @@ CommandEnvironment::getInteractionHandler()
return m_pImpl->m_xInteractionHandler;
}
-//=========================================================================
+
// virtual
Reference< XProgressHandler > SAL_CALL
CommandEnvironment::getProgressHandler()
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx
index 4a0718696eb7..ac1bd2d67092 100644
--- a/ucbhelper/source/client/content.cxx
+++ b/ucbhelper/source/client/content.cxx
@@ -125,13 +125,13 @@ void EmptyInputStream::closeInput()
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// class ContentEventListener_Impl.
-//
-//=========================================================================
-//=========================================================================
+
+
+
class ContentEventListener_Impl : public cppu::OWeakObject,
public XContentEventListener
@@ -154,13 +154,13 @@ public:
throw( RuntimeException );
};
-//=========================================================================
-//=========================================================================
-//
+
+
+
// class Content_Impl.
-//
-//=========================================================================
-//=========================================================================
+
+
+
class Content_Impl : public salhelper::SimpleReferenceObject
{
@@ -201,9 +201,9 @@ public:
void inserted();
};
-//=========================================================================
+
// Helpers.
-//=========================================================================
+
static void ensureContentProviderForURL( const Reference< XUniversalContentBroker >& rBroker,
const OUString & rURL )
@@ -220,7 +220,7 @@ static void ensureContentProviderForURL( const Reference< XUniversalContentBroke
}
}
-//=========================================================================
+
static Reference< XContentIdentifier > getContentIdentifier(
const Reference< XUniversalContentBroker > & rBroker,
const OUString & rURL,
@@ -246,7 +246,7 @@ static Reference< XContentIdentifier > getContentIdentifier(
return Reference< XContentIdentifier >();
}
-//=========================================================================
+
static Reference< XContent > getContent(
const Reference< XUniversalContentBroker > & rBroker,
const Reference< XContentIdentifier > & xId,
@@ -281,20 +281,20 @@ static Reference< XContent > getContent(
return Reference< XContent >();
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// Content Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
Content::Content()
: m_xImpl( new Content_Impl )
{
}
-//=========================================================================
+
Content::Content( const OUString& rURL,
const Reference< XCommandEnvironment >& rEnv,
const Reference< XComponentContext >& rCtx )
@@ -311,7 +311,7 @@ Content::Content( const OUString& rURL,
m_xImpl = new Content_Impl( rCtx, xContent, rEnv );
}
-//=========================================================================
+
Content::Content( const Reference< XContent >& rContent,
const Reference< XCommandEnvironment >& rEnv,
const Reference< XComponentContext >& rCtx )
@@ -320,13 +320,13 @@ Content::Content( const Reference< XContent >& rContent,
m_xImpl = new Content_Impl( rCtx, rContent, rEnv );
}
-//=========================================================================
+
Content::Content( const Content& rOther )
{
m_xImpl = rOther.m_xImpl;
}
-//=========================================================================
+
// static
bool Content::create( const OUString& rURL,
const Reference< XCommandEnvironment >& rEnv,
@@ -351,44 +351,44 @@ bool Content::create( const OUString& rURL,
return true;
}
-//=========================================================================
+
Content::~Content()
{
}
-//=========================================================================
+
Content& Content::operator=( const Content& rOther )
{
m_xImpl = rOther.m_xImpl;
return *this;
}
-//=========================================================================
+
Reference< XContent > Content::get() const
{
return m_xImpl->getContent();
}
-//=========================================================================
+
const OUString& Content::getURL() const
{
return m_xImpl->getURL();
}
-//=========================================================================
+
const Reference< XCommandEnvironment >& Content::getCommandEnvironment() const
{
return m_xImpl->getEnvironment();
}
-//=========================================================================
+
void Content::setCommandEnvironment(
const Reference< XCommandEnvironment >& xNewEnv )
{
m_xImpl->setEnvironment( xNewEnv );
}
-//=========================================================================
+
Reference< XCommandInfo > Content::getCommands()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -404,7 +404,7 @@ Reference< XCommandInfo > Content::getCommands()
return xInfo;
}
-//=========================================================================
+
Reference< XPropertySetInfo > Content::getProperties()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -420,7 +420,7 @@ Reference< XPropertySetInfo > Content::getProperties()
return xInfo;
}
-//=========================================================================
+
Any Content::getPropertyValue( const OUString& rPropertyName )
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -431,7 +431,7 @@ Any Content::getPropertyValue( const OUString& rPropertyName )
return aRet.getConstArray()[ 0 ];
}
-//=========================================================================
+
Any Content::setPropertyValue( const OUString& rName,
const Any& rValue )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -446,7 +446,7 @@ Any Content::setPropertyValue( const OUString& rName,
return aErrors.getConstArray()[ 0 ];
}
-//=========================================================================
+
Sequence< Any > Content::getPropertyValues(
const Sequence< OUString >& rPropertyNames )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -467,7 +467,7 @@ Sequence< Any > Content::getPropertyValues(
return aValues;
}
-//=========================================================================
+
Reference< XRow > Content::getPropertyValuesInterface(
const Sequence< OUString >& rPropertyNames )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -500,7 +500,7 @@ Reference< XRow > Content::getPropertyValuesInterface(
return xRow;
}
-//=========================================================================
+
Sequence< Any > Content::setPropertyValues(
const Sequence< OUString >& rPropertyNames,
const Sequence< Any >& rValues )
@@ -548,7 +548,7 @@ Sequence< Any > Content::setPropertyValues(
return aErrors;
}
-//=========================================================================
+
Any Content::executeCommand( const OUString& rCommandName,
const Any& rCommandArgument )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -561,7 +561,7 @@ Any Content::executeCommand( const OUString& rCommandName,
return m_xImpl->executeCommand( aCommand );
}
-//=========================================================================
+
Any Content::createCursorAny( const Sequence< OUString >& rPropertyNames,
ResultSetInclude eMode )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -594,7 +594,7 @@ Any Content::createCursorAny( const Sequence< OUString >& rPropertyNames,
return m_xImpl->executeCommand( aCommand );
}
-//=========================================================================
+
Reference< XResultSet > Content::createCursor(
const Sequence< OUString >& rPropertyNames,
ResultSetInclude eMode )
@@ -624,7 +624,7 @@ Reference< XResultSet > Content::createCursor(
return aResult;
}
-//=========================================================================
+
Reference< XDynamicResultSet > Content::createDynamicCursor(
const Sequence< OUString >& rPropertyNames,
ResultSetInclude eMode )
@@ -638,7 +638,7 @@ Reference< XDynamicResultSet > Content::createDynamicCursor(
return aResult;
}
-//=========================================================================
+
Reference< XResultSet > Content::createSortedCursor(
const Sequence< OUString >& rPropertyNames,
const Sequence< NumberedSortingInfo >& rSortInfo,
@@ -690,7 +690,7 @@ Reference< XResultSet > Content::createSortedCursor(
return aResult;
}
-//=========================================================================
+
Reference< XInputStream > Content::openStream()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -715,7 +715,7 @@ Reference< XInputStream > Content::openStream()
return xSink->getInputStream();
}
-//=========================================================================
+
Reference< XInputStream > Content::openStreamNoLock()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -740,7 +740,7 @@ Reference< XInputStream > Content::openStreamNoLock()
return xSink->getInputStream();
}
-//=========================================================================
+
Reference< XStream > Content::openWriteableStream()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -765,7 +765,7 @@ Reference< XStream > Content::openWriteableStream()
return xStreamer->getStream();
}
-//=========================================================================
+
Reference< XStream > Content::openWriteableStreamNoLock()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -790,7 +790,7 @@ Reference< XStream > Content::openWriteableStreamNoLock()
return xStreamer->getStream();
}
-//=========================================================================
+
bool Content::openStream( const Reference< XActiveDataSink >& rSink )
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -813,7 +813,7 @@ bool Content::openStream( const Reference< XActiveDataSink >& rSink )
return true;
}
-//=========================================================================
+
bool Content::openStream( const Reference< XOutputStream >& rStream )
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -836,7 +836,7 @@ bool Content::openStream( const Reference< XOutputStream >& rStream )
return true;
}
-//=========================================================================
+
void Content::writeStream( const Reference< XInputStream >& rStream,
bool bReplaceExisting )
throw( CommandAbortedException, RuntimeException, Exception )
@@ -855,7 +855,7 @@ void Content::writeStream( const Reference< XInputStream >& rStream,
m_xImpl->inserted();
}
-//=========================================================================
+
Sequence< ContentInfo > Content::queryCreatableContentsInfo()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -875,7 +875,7 @@ Sequence< ContentInfo > Content::queryCreatableContentsInfo()
return aInfo;
}
-//=========================================================================
+
bool Content::insertNewContent( const OUString& rContentType,
const Sequence< OUString >&
rPropertyNames,
@@ -890,7 +890,7 @@ bool Content::insertNewContent( const OUString& rContentType,
rNewContent );
}
-//=========================================================================
+
bool Content::insertNewContent( const OUString& rContentType,
const Sequence< OUString >&
rPropertyNames,
@@ -954,7 +954,7 @@ bool Content::insertNewContent( const OUString& rContentType,
return true;
}
-//=========================================================================
+
bool Content::transferContent( const Content& rSourceContent,
InsertOperation eOperation,
const OUString & rTitle,
@@ -1033,7 +1033,7 @@ bool Content::transferContent( const Content& rSourceContent,
return true;
}
-//=========================================================================
+
bool Content::isFolder()
throw( CommandAbortedException, RuntimeException, Exception )
{
@@ -1056,7 +1056,7 @@ bool Content::isFolder()
#endif
}
-//=========================================================================
+
SAL_WNOUNREACHABLE_CODE_PUSH
@@ -1082,13 +1082,13 @@ bool Content::isDocument()
SAL_WNOUNREACHABLE_CODE_POP
-//=========================================================================
-//=========================================================================
-//
+
+
+
// Content_Impl Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
const Reference< XContent >& rContent,
@@ -1111,7 +1111,7 @@ Content_Impl::Content_Impl( const Reference< XComponentContext >& rCtx,
}
}
-//=========================================================================
+
void Content_Impl::reinit( const Reference< XContent >& xContent )
{
osl::MutexGuard aGuard( m_aMutex );
@@ -1152,7 +1152,7 @@ void Content_Impl::reinit( const Reference< XContent >& xContent )
}
}
-//=========================================================================
+
// virtual
Content_Impl::~Content_Impl()
{
@@ -1168,7 +1168,7 @@ Content_Impl::~Content_Impl()
}
}
-//=========================================================================
+
void Content_Impl::disposing( const EventObject& Source )
{
Reference<XContent> xContent;
@@ -1197,7 +1197,7 @@ void Content_Impl::disposing( const EventObject& Source )
}
}
-//=========================================================================
+
const OUString& Content_Impl::getURL() const
{
if ( m_aURL.isEmpty() && m_xContent.is() )
@@ -1215,7 +1215,7 @@ const OUString& Content_Impl::getURL() const
return m_aURL;
}
-//=========================================================================
+
Reference< XContent > Content_Impl::getContent()
{
if ( !m_xContent.is() && !m_aURL.isEmpty() )
@@ -1255,7 +1255,7 @@ Reference< XContent > Content_Impl::getContent()
return m_xContent;
}
-//=========================================================================
+
Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
{
if ( !m_xCommandProcessor.is() )
@@ -1270,7 +1270,7 @@ Reference< XCommandProcessor > Content_Impl::getCommandProcessor()
return m_xCommandProcessor;
}
-//=========================================================================
+
Any Content_Impl::executeCommand( const Command& rCommand )
{
Reference< XCommandProcessor > xProc = getCommandProcessor();
@@ -1281,14 +1281,14 @@ Any Content_Impl::executeCommand( const Command& rCommand )
return xProc->execute( rCommand, 0, m_xEnv );
}
-//=========================================================================
+
inline const Reference< XCommandEnvironment >&
Content_Impl::getEnvironment() const
{
return m_xEnv;
}
-//=========================================================================
+
inline void Content_Impl::setEnvironment(
const Reference< XCommandEnvironment >& xNewEnv )
{
@@ -1296,7 +1296,7 @@ inline void Content_Impl::setEnvironment(
m_xEnv = xNewEnv;
}
-//=========================================================================
+
void Content_Impl::inserted()
{
// URL might have changed during 'insert' => recalculate in next getURL()
@@ -1304,29 +1304,29 @@ void Content_Impl::inserted()
m_aURL = "";
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// ContentEventListener_Impl Implementation.
-//
-//=========================================================================
-//=========================================================================
-//=========================================================================
-//
+
+
+
+
+
// XInterface methods.
-//
-//=========================================================================
+
+
XINTERFACE_IMPL_2( ContentEventListener_Impl,
XContentEventListener,
XEventListener ); /* base of XContentEventListener */
-//=========================================================================
-//
+
+
// XContentEventListener methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ContentEventListener_Impl::contentEvent( const ContentEvent& evt )
@@ -1350,11 +1350,11 @@ void SAL_CALL ContentEventListener_Impl::contentEvent( const ContentEvent& evt )
}
}
-//=========================================================================
-//
+
+
// XEventListenr methods.
-//
-//=========================================================================
+
+
// virtual
void SAL_CALL ContentEventListener_Impl::disposing( const EventObject& Source )
diff --git a/ucbhelper/source/client/fileidentifierconverter.cxx b/ucbhelper/source/client/fileidentifierconverter.cxx
index c1498cc21680..fadc8ed01997 100644
--- a/ucbhelper/source/client/fileidentifierconverter.cxx
+++ b/ucbhelper/source/client/fileidentifierconverter.cxx
@@ -31,11 +31,11 @@ using namespace com::sun::star;
namespace ucbhelper {
-//============================================================================
-//
+
+
// getLocalFileURL
-//
-//============================================================================
+
+
OUString
getLocalFileURL() SAL_THROW((uno::RuntimeException))
@@ -47,11 +47,11 @@ getLocalFileURL() SAL_THROW((uno::RuntimeException))
return OUString("file:///");
}
-//============================================================================
-//
+
+
// getFileURLFromSystemPath
-//
-//============================================================================
+
+
OUString
getFileURLFromSystemPath(
@@ -70,11 +70,11 @@ getFileURLFromSystemPath(
return OUString();
}
-//============================================================================
-//
+
+
// getSystemPathFromFileURL
-//
-//============================================================================
+
+
OUString
getSystemPathFromFileURL(
diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx
index 1ed0e91ea7ad..5bcb5f0f0c32 100644
--- a/ucbhelper/source/client/proxydecider.cxx
+++ b/ucbhelper/source/client/proxydecider.cxx
@@ -52,11 +52,11 @@ using namespace ucbhelper;
#define FTP_PROXY_NAME_KEY "ooInetFTPProxyName"
#define FTP_PROXY_PORT_KEY "ooInetFTPProxyPort"
-//=========================================================================
+
namespace ucbhelper
{
-//=========================================================================
+
namespace proxydecider_impl
{
@@ -75,10 +75,10 @@ public:
bool Matches( const OUString & rStr ) const;
};
-//=========================================================================
+
typedef std::pair< WildCard, WildCard > NoProxyListEntry;
-//=========================================================================
+
class HostnameCache
{
@@ -119,7 +119,7 @@ public:
}
};
-//=========================================================================
+
class InternetProxyDecider_Impl :
public cppu::WeakImplHelper1< util::XChangesListener >
{
@@ -160,13 +160,13 @@ private:
void setNoProxyList( const OUString & rNoProxyList );
};
-//=========================================================================
-//=========================================================================
-//
+
+
+
// WildCard Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
bool WildCard::Matches( const OUString& rString ) const
{
@@ -236,7 +236,7 @@ bool WildCard::Matches( const OUString& rString ) const
return ( *pStr == '\0' ) && ( *pWild == '\0' );
}
-//=========================================================================
+
bool getConfigStringValue(
const uno::Reference< container::XNameAccess > & xNameAccess,
const char * key,
@@ -263,7 +263,7 @@ bool getConfigStringValue(
return true;
}
-//=========================================================================
+
bool getConfigInt32Value(
const uno::Reference< container::XNameAccess > & xNameAccess,
const char * key,
@@ -291,13 +291,13 @@ bool getConfigInt32Value(
return true;
}
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InternetProxyDecider_Impl Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
InternetProxyDecider_Impl::InternetProxyDecider_Impl(
const uno::Reference< uno::XComponentContext >& rxContext )
@@ -306,9 +306,9 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl(
{
try
{
- //////////////////////////////////////////////////////////////
+
// Read proxy configuration from config db.
- //////////////////////////////////////////////////////////////
+
uno::Reference< lang::XMultiServiceFactory > xConfigProv =
configuration::theDefaultProvider::get( rxContext );
@@ -392,13 +392,13 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl(
}
}
-//=========================================================================
+
// virtual
InternetProxyDecider_Impl::~InternetProxyDecider_Impl()
{
}
-//=========================================================================
+
void InternetProxyDecider_Impl::dispose()
{
uno::Reference< util::XChangesNotifier > xNotifier;
@@ -419,7 +419,7 @@ void InternetProxyDecider_Impl::dispose()
xNotifier->removeChangesListener( this );
}
-//=========================================================================
+
bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
sal_Int32 nPort,
bool bUseFullyQualified ) const
@@ -467,7 +467,7 @@ bool InternetProxyDecider_Impl::shouldUseProxy( const OUString & rHost,
return true;
}
-//=========================================================================
+
const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
const OUString & rProtocol,
const OUString & rHost,
@@ -483,16 +483,16 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
if ( !rHost.isEmpty() && !m_aNoProxyList.empty() )
{
- //////////////////////////////////////////////////////////////////
+
// First, try direct hostname match - #110515#
- //////////////////////////////////////////////////////////////////
+
if ( !shouldUseProxy( rHost, nPort, false ) )
return m_aEmptyProxy;
- //////////////////////////////////////////////////////////////////
+
// Second, try match against full qualified hostname - #104401#
- //////////////////////////////////////////////////////////////////
+
OUString aHost;
@@ -527,15 +527,15 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
return m_aEmptyProxy;
}
- //////////////////////////////////////////////////////////////////
+
// Third, try match of fully qualified entries in no-proxy list
// against full qualified hostname
- //
+
// Example:
// list: staroffice-doc -> full: xyz.germany.sun.com
// in: staroffice-doc.germany.sun.com -> full: xyz.germany.sun.com
- //
- //////////////////////////////////////////////////////////////////
+
+
if ( !shouldUseProxy( aFullyQualifiedHost, nPort, true ) )
return m_aEmptyProxy;
@@ -559,7 +559,7 @@ const InternetProxyServer & InternetProxyDecider_Impl::getProxy(
return m_aEmptyProxy;
}
-//=========================================================================
+
// virtual
void SAL_CALL InternetProxyDecider_Impl::changesOccurred(
const util::ChangesEvent& Event )
@@ -656,7 +656,7 @@ void SAL_CALL InternetProxyDecider_Impl::changesOccurred(
}
}
-//=========================================================================
+
// virtual
void SAL_CALL InternetProxyDecider_Impl::disposing(const lang::EventObject&)
throw( uno::RuntimeException )
@@ -670,7 +670,7 @@ void SAL_CALL InternetProxyDecider_Impl::disposing(const lang::EventObject&)
}
}
-//=========================================================================
+
void InternetProxyDecider_Impl::setNoProxyList(
const OUString & rNoProxyList )
{
@@ -783,13 +783,13 @@ void InternetProxyDecider_Impl::setNoProxyList(
} // namespace proxydecider_impl
-//=========================================================================
-//=========================================================================
-//
+
+
+
// InternetProxyDecider Implementation.
-//
-//=========================================================================
-//=========================================================================
+
+
+
InternetProxyDecider::InternetProxyDecider(
const uno::Reference< uno::XComponentContext>& rxContext )
@@ -798,7 +798,7 @@ InternetProxyDecider::InternetProxyDecider(
m_pImpl->acquire();
}
-//=========================================================================
+
InternetProxyDecider::~InternetProxyDecider()
{
// Break circular reference between config listener and notifier.
@@ -808,7 +808,7 @@ InternetProxyDecider::~InternetProxyDecider()
m_pImpl->release();
}
-//=========================================================================
+
bool InternetProxyDecider::shouldUseProxy( const OUString & rProtocol,
const OUString & rHost,
sal_Int32 nPort ) const
@@ -819,7 +819,7 @@ bool InternetProxyDecider::shouldUseProxy( const OUString & rProtocol,
return !rData.aName.isEmpty();
}
-//=========================================================================
+
const InternetProxyServer & InternetProxyDecider::getProxy(
const OUString & rProtocol,
const OUString & rHost,
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,