summaryrefslogtreecommitdiff
path: root/ucb/source/cacher
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /ucb/source/cacher
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'ucb/source/cacher')
-rw-r--r--ucb/source/cacher/cachedcontentresultset.cxx130
-rw-r--r--ucb/source/cacher/cachedcontentresultsetstub.cxx52
-rw-r--r--ucb/source/cacher/cacheddynamicresultset.cxx44
-rw-r--r--ucb/source/cacher/cacheddynamicresultsetstub.cxx40
-rw-r--r--ucb/source/cacher/contentresultsetwrapper.cxx88
-rw-r--r--ucb/source/cacher/dynamicresultsetwrapper.cxx52
6 files changed, 203 insertions, 203 deletions
diff --git a/ucb/source/cacher/cachedcontentresultset.cxx b/ucb/source/cacher/cachedcontentresultset.cxx
index 0c692fd70242..2bfcf9bcfc87 100644
--- a/ucb/source/cacher/cachedcontentresultset.cxx
+++ b/ucb/source/cacher/cachedcontentresultset.cxx
@@ -107,11 +107,11 @@ template<typename T> T CachedContentResultSet::rowOriginGet(
return aRet;
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// CCRS_Cache methoeds.
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedContentResultSet::CCRS_Cache::CCRS_Cache(
const Reference< XContentIdentifierMapping > & xMapping )
@@ -364,11 +364,11 @@ const Reference< XContent >& SAL_CALL CachedContentResultSet::CCRS_Cache
}
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CCRS_PropertySetInfo
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
class CCRS_PropertySetInfo :
public cppu::OWeakObject,
@@ -513,26 +513,26 @@ CCRS_PropertySetInfo::~CCRS_PropertySetInfo()
delete m_pProperties;
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
//list all interfaces inclusive baseclasses of interfaces
XINTERFACE_IMPL_2( CCRS_PropertySetInfo
, XTypeProvider
, XPropertySetInfo
);
-//--------------------------------------------------------------------------
+
// XTypeProvider methods.
-//--------------------------------------------------------------------------
+
//list all interfaces exclusive baseclasses
XTYPEPROVIDER_IMPL_2( CCRS_PropertySetInfo
, XTypeProvider
, XPropertySetInfo
);
-//--------------------------------------------------------------------------
+
// XPropertySetInfo methods.
-//--------------------------------------------------------------------------
+
//virtual
Sequence< Property > SAL_CALL CCRS_PropertySetInfo
::getProperties() throw( RuntimeException )
@@ -563,9 +563,9 @@ sal_Bool SAL_CALL CCRS_PropertySetInfo
return ( impl_getPos( Name ) != -1 );
}
-//--------------------------------------------------------------------------
+
// impl_ methods.
-//--------------------------------------------------------------------------
+
sal_Int32 SAL_CALL CCRS_PropertySetInfo
::impl_getPos( const OUString& rName ) const
@@ -635,11 +635,11 @@ sal_Int32 SAL_CALL CCRS_PropertySetInfo
return nHandle;
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CachedContentResultSet
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedContentResultSet::CachedContentResultSet(
const Reference< XComponentContext > & rxContext
@@ -691,9 +691,9 @@ CachedContentResultSet::~CachedContentResultSet()
//do not delete m_pMyPropSetInfo, cause it is hold via reference
};
-//--------------------------------------------------------------------------
+
// impl_ methods.
-//--------------------------------------------------------------------------
+
sal_Bool SAL_CALL CachedContentResultSet
::applyPositionToOrigin( sal_Int32 nRow )
@@ -701,7 +701,7 @@ sal_Bool SAL_CALL CachedContentResultSet
RuntimeException )
{
impl_EnsureNotDisposed();
- //-------------------------------------------------------------------------
+
/**
@returns
<TRUE/> if the cursor is on a valid row; <FALSE/> if it is off
@@ -802,11 +802,11 @@ sal_Bool SAL_CALL CachedContentResultSet
return sal_True;
};
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
//define for fetching data
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
#define FETCH_XXX( aCache, fetchInterface, fetchMethod ) \
sal_Bool bDirection = !!( \
@@ -911,9 +911,9 @@ void SAL_CALL CachedContentResultSet
m_xPropertySetInfo = m_xMyPropertySetInfo;
}
-//--------------------------------------------------------------------------
+
// XInterface methods. ( inherited )
-//--------------------------------------------------------------------------
+
XINTERFACE_COMMON_IMPL( CachedContentResultSet )
Any SAL_CALL CachedContentResultSet
@@ -933,9 +933,9 @@ Any SAL_CALL CachedContentResultSet
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//--------------------------------------------------------------------------
+
// XTypeProvider methods.
-//--------------------------------------------------------------------------
+
//list all interfaces exclusive baseclasses
XTYPEPROVIDER_IMPL_11( CachedContentResultSet
, XTypeProvider
@@ -953,9 +953,9 @@ XTYPEPROVIDER_IMPL_11( CachedContentResultSet
, XResultSet
, XRow );
-//--------------------------------------------------------------------------
+
// XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_NOFACTORY_IMPL_1( CachedContentResultSet,
OUString(
@@ -963,9 +963,9 @@ XSERVICEINFO_NOFACTORY_IMPL_1( CachedContentResultSet,
OUString(
CACHED_CONTENT_RESULTSET_SERVICE_NAME ) );
-//--------------------------------------------------------------------------
+
// XPropertySet methods. ( inherited )
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL CachedContentResultSet
@@ -1079,7 +1079,7 @@ void SAL_CALL CachedContentResultSet
}
}
-//--------------------------------------------------------------------------
+
// virtual
Any SAL_CALL CachedContentResultSet
::getPropertyValue( const OUString& rPropertyName )
@@ -1139,9 +1139,9 @@ Any SAL_CALL CachedContentResultSet
return aValue;
}
-//--------------------------------------------------------------------------
+
// own methods. ( inherited )
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL CachedContentResultSet
@@ -1168,7 +1168,7 @@ void SAL_CALL CachedContentResultSet
PropertyChangeEvent aEvt( rEvt );
aEvt.Source = static_cast< XPropertySet * >( this );
aEvt.Further = sal_False;
- //---------
+
if( CCRS_PropertySetInfo
::impl_isMyPropertyName( rEvt.PropertyName ) )
@@ -1211,7 +1211,7 @@ void SAL_CALL CachedContentResultSet
return;
}
- //-----------
+
impl_notifyPropertyChangeListeners( aEvt );
}
@@ -1239,9 +1239,9 @@ void SAL_CALL CachedContentResultSet
impl_notifyVetoableChangeListeners( aEvt );
}
-//--------------------------------------------------------------------------
+
// XContentAccess methods. ( inherited ) ( -- position dependent )
-//--------------------------------------------------------------------------
+
#define XCONTENTACCESS_queryXXX( queryXXX, XXX, TYPE ) \
impl_EnsureNotDisposed(); \
@@ -1277,7 +1277,7 @@ if( !m_aCache##XXX.hasRow( nRow ) ) \
} \
return m_aCache##XXX.get##XXX( nRow );
-//--------------------------------------------------------------------------
+
// virtual
OUString SAL_CALL CachedContentResultSet
::queryContentIdentifierString()
@@ -1286,7 +1286,7 @@ OUString SAL_CALL CachedContentResultSet
XCONTENTACCESS_queryXXX( queryContentIdentifierString, ContentIdentifierString, OUString )
}
-//--------------------------------------------------------------------------
+
// virtual
Reference< XContentIdentifier > SAL_CALL CachedContentResultSet
::queryContentIdentifier()
@@ -1295,7 +1295,7 @@ Reference< XContentIdentifier > SAL_CALL CachedContentResultSet
XCONTENTACCESS_queryXXX( queryContentIdentifier, ContentIdentifier, Reference< XContentIdentifier > )
}
-//--------------------------------------------------------------------------
+
// virtual
Reference< XContent > SAL_CALL CachedContentResultSet
::queryContent()
@@ -1304,9 +1304,9 @@ Reference< XContent > SAL_CALL CachedContentResultSet
XCONTENTACCESS_queryXXX( queryContent, Content, Reference< XContent > )
}
-//-----------------------------------------------------------------
+
// XResultSet methods. ( inherited )
-//-----------------------------------------------------------------
+
//virtual
sal_Bool SAL_CALL CachedContentResultSet
@@ -1889,9 +1889,9 @@ Reference< XInterface > SAL_CALL CachedContentResultSet
return Reference< XInterface >();
}
-//-----------------------------------------------------------------
+
// XRow methods. ( inherited )
-//-----------------------------------------------------------------
+
//virtual
sal_Bool SAL_CALL CachedContentResultSet
@@ -2134,9 +2134,9 @@ Reference< XArray > SAL_CALL CachedContentResultSet
&css::sdbc::XRow::getArray, columnIndex);
}
-//-----------------------------------------------------------------
+
// Type Converter Support
-//-----------------------------------------------------------------
+
const Reference< XTypeConverter >& CachedContentResultSet::getTypeConverter()
{
@@ -2154,11 +2154,11 @@ const Reference< XTypeConverter >& CachedContentResultSet::getTypeConverter()
return m_xTypeConverter;
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CachedContentResultSetFactory
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedContentResultSetFactory::CachedContentResultSetFactory(
const Reference< XComponentContext > & rxContext )
@@ -2170,41 +2170,41 @@ CachedContentResultSetFactory::~CachedContentResultSetFactory()
{
}
-//--------------------------------------------------------------------------
+
// CachedContentResultSetFactory XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_IMPL_3( CachedContentResultSetFactory,
XTypeProvider,
XServiceInfo,
XCachedContentResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetFactory XTypeProvider methods.
-//--------------------------------------------------------------------------
+
XTYPEPROVIDER_IMPL_3( CachedContentResultSetFactory,
XTypeProvider,
XServiceInfo,
XCachedContentResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetFactory XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_IMPL_1_CTX( CachedContentResultSetFactory,
OUString( "com.sun.star.comp.ucb.CachedContentResultSetFactory" ),
OUString( CACHED_CONTENT_RESULTSET_FACTORY_NAME ) );
-//--------------------------------------------------------------------------
+
// Service factory implementation.
-//--------------------------------------------------------------------------
+
ONE_INSTANCE_SERVICE_FACTORY_IMPL( CachedContentResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetFactory XCachedContentResultSetFactory methods.
-//--------------------------------------------------------------------------
+
//virtual
Reference< XResultSet > SAL_CALL CachedContentResultSetFactory
diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx
index 23b986353e52..719973099d9e 100644
--- a/ucb/source/cacher/cachedcontentresultsetstub.cxx
+++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx
@@ -51,9 +51,9 @@ CachedContentResultSetStub::~CachedContentResultSetStub()
impl_deinit();
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_COMMON_IMPL( CachedContentResultSetStub )
Any SAL_CALL CachedContentResultSetStub
@@ -76,9 +76,9 @@ Any SAL_CALL CachedContentResultSetStub
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//--------------------------------------------------------------------------
+
// own methods. ( inherited )
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL CachedContentResultSetStub
@@ -122,9 +122,9 @@ void SAL_CALL CachedContentResultSetStub
impl_notifyVetoableChangeListeners( aEvt );
}
-//--------------------------------------------------------------------------
+
// XTypeProvider methods.
-//--------------------------------------------------------------------------
+
XTYPEPROVIDER_COMMON_IMPL( CachedContentResultSetStub )
//list all interfaces exclusive baseclasses
@@ -157,17 +157,17 @@ Sequence< Type > SAL_CALL CachedContentResultSetStub
return *pTypes;
}
-//--------------------------------------------------------------------------
+
// XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_NOFACTORY_IMPL_1( CachedContentResultSetStub,
OUString( "com.sun.star.comp.ucb.CachedContentResultSetStub" ),
OUString( CACHED_CRS_STUB_SERVICE_NAME ) );
-//-----------------------------------------------------------------
+
// XFetchProvider methods.
-//-----------------------------------------------------------------
+
#define FETCH_XXX( impl_loadRow, loadInterface ) \
impl_EnsureNotDisposed(); \
@@ -422,9 +422,9 @@ void SAL_CALL CachedContentResultSetStub
}
}
-//-----------------------------------------------------------------
+
// XFetchProviderForContentAccess methods.
-//-----------------------------------------------------------------
+
void SAL_CALL CachedContentResultSetStub
::impl_getCurrentContentIdentifierString( Any& rAny
@@ -480,11 +480,11 @@ FetchResult SAL_CALL CachedContentResultSetStub
FETCH_XXX( impl_getCurrentContent, m_xContentAccessOrigin );
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CachedContentResultSetStubFactory
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedContentResultSetStubFactory::CachedContentResultSetStubFactory(
const Reference< XMultiServiceFactory > & rSMgr )
@@ -496,41 +496,41 @@ CachedContentResultSetStubFactory::~CachedContentResultSetStubFactory()
{
}
-//--------------------------------------------------------------------------
+
// CachedContentResultSetStubFactory XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_IMPL_3( CachedContentResultSetStubFactory,
XTypeProvider,
XServiceInfo,
XCachedContentResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetStubFactory XTypeProvider methods.
-//--------------------------------------------------------------------------
+
XTYPEPROVIDER_IMPL_3( CachedContentResultSetStubFactory,
XTypeProvider,
XServiceInfo,
XCachedContentResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetStubFactory XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_IMPL_1( CachedContentResultSetStubFactory,
OUString( "com.sun.star.comp.ucb.CachedContentResultSetStubFactory" ),
OUString( CACHED_CRS_STUB_FACTORY_NAME ) );
-//--------------------------------------------------------------------------
+
// Service factory implementation.
-//--------------------------------------------------------------------------
+
ONE_INSTANCE_SERVICE_FACTORY_IMPL( CachedContentResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedContentResultSetStubFactory XCachedContentResultSetStubFactory methods.
-//--------------------------------------------------------------------------
+
//virtual
Reference< XResultSet > SAL_CALL CachedContentResultSetStubFactory
diff --git a/ucb/source/cacher/cacheddynamicresultset.cxx b/ucb/source/cacher/cacheddynamicresultset.cxx
index ab6d880bdb21..ab9467825fd7 100644
--- a/ucb/source/cacher/cacheddynamicresultset.cxx
+++ b/ucb/source/cacher/cacheddynamicresultset.cxx
@@ -73,9 +73,9 @@ void SAL_CALL CachedDynamicResultSet
m_xMyResultTwo = xCache;
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_COMMON_IMPL( CachedDynamicResultSet )
Any SAL_CALL CachedDynamicResultSet
@@ -95,9 +95,9 @@ Any SAL_CALL CachedDynamicResultSet
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//--------------------------------------------------------------------------
+
// XTypeProvider methods.
-//--------------------------------------------------------------------------
+
//list all interfaces exclusive baseclasses
XTYPEPROVIDER_IMPL_4( CachedDynamicResultSet
, XTypeProvider
@@ -106,17 +106,17 @@ XTYPEPROVIDER_IMPL_4( CachedDynamicResultSet
, XSourceInitialization
);
-//--------------------------------------------------------------------------
+
// XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_NOFACTORY_IMPL_1( CachedDynamicResultSet,
OUString( "com.sun.star.comp.ucb.CachedDynamicResultSet" ),
OUString( CACHED_DRS_SERVICE_NAME ) );
-//--------------------------------------------------------------------------
+
// own methds. ( inherited )
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL CachedDynamicResultSet
::impl_disposing( const EventObject& Source )
@@ -126,11 +126,11 @@ void SAL_CALL CachedDynamicResultSet
m_xContentIdentifierMapping.clear();
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CachedDynamicResultSetFactory
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedDynamicResultSetFactory::CachedDynamicResultSetFactory(
const Reference< XComponentContext > & xContext )
@@ -142,41 +142,41 @@ CachedDynamicResultSetFactory::~CachedDynamicResultSetFactory()
{
}
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetFactory XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_IMPL_3( CachedDynamicResultSetFactory,
XTypeProvider,
XServiceInfo,
XCachedDynamicResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetFactory XTypeProvider methods.
-//--------------------------------------------------------------------------
+
XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetFactory,
XTypeProvider,
XServiceInfo,
XCachedDynamicResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetFactory XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_IMPL_1_CTX( CachedDynamicResultSetFactory,
OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetFactory" ),
OUString( CACHED_DRS_FACTORY_NAME ) );
-//--------------------------------------------------------------------------
+
// Service factory implementation.
-//--------------------------------------------------------------------------
+
ONE_INSTANCE_SERVICE_FACTORY_IMPL( CachedDynamicResultSetFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetFactory XCachedDynamicResultSetFactory methods.
-//--------------------------------------------------------------------------
+
//virtual
Reference< XDynamicResultSet > SAL_CALL CachedDynamicResultSetFactory
diff --git a/ucb/source/cacher/cacheddynamicresultsetstub.cxx b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
index c370a59cdc37..fb7dbe5daa02 100644
--- a/ucb/source/cacher/cacheddynamicresultsetstub.cxx
+++ b/ucb/source/cacher/cacheddynamicresultsetstub.cxx
@@ -74,9 +74,9 @@ void SAL_CALL CachedDynamicResultSetStub
m_xMyResultTwo = xStub;
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_COMMON_IMPL( CachedDynamicResultSetStub )
Any SAL_CALL CachedDynamicResultSetStub
@@ -96,9 +96,9 @@ Any SAL_CALL CachedDynamicResultSetStub
return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType );
}
-//--------------------------------------------------------------------------
+
// XTypeProvider methods.
-//--------------------------------------------------------------------------
+
//list all interfaces exclusive baseclasses
XTYPEPROVIDER_IMPL_5( CachedDynamicResultSetStub
, XTypeProvider
@@ -108,19 +108,19 @@ XTYPEPROVIDER_IMPL_5( CachedDynamicResultSetStub
, XSourceInitialization
);
-//--------------------------------------------------------------------------
+
// XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_NOFACTORY_IMPL_1( CachedDynamicResultSetStub,
OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStub" ),
OUString( CACHED_DRS_STUB_SERVICE_NAME ) );
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class CachedDynamicResultSetStubFactory
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
CachedDynamicResultSetStubFactory::CachedDynamicResultSetStubFactory(
const Reference< XComponentContext > & rxContext )
@@ -132,41 +132,41 @@ CachedDynamicResultSetStubFactory::~CachedDynamicResultSetStubFactory()
{
}
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetStubFactory XInterface methods.
-//--------------------------------------------------------------------------
+
XINTERFACE_IMPL_3( CachedDynamicResultSetStubFactory,
XTypeProvider,
XServiceInfo,
XCachedDynamicResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetStubFactory XTypeProvider methods.
-//--------------------------------------------------------------------------
+
XTYPEPROVIDER_IMPL_3( CachedDynamicResultSetStubFactory,
XTypeProvider,
XServiceInfo,
XCachedDynamicResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetStubFactory XServiceInfo methods.
-//--------------------------------------------------------------------------
+
XSERVICEINFO_IMPL_1_CTX( CachedDynamicResultSetStubFactory,
OUString( "com.sun.star.comp.ucb.CachedDynamicResultSetStubFactory" ),
OUString( CACHED_DRS_STUB_FACTORY_NAME ) );
-//--------------------------------------------------------------------------
+
// Service factory implementation.
-//--------------------------------------------------------------------------
+
ONE_INSTANCE_SERVICE_FACTORY_IMPL( CachedDynamicResultSetStubFactory );
-//--------------------------------------------------------------------------
+
// CachedDynamicResultSetStubFactory XCachedDynamicResultSetStubFactory methods.
-//--------------------------------------------------------------------------
+
//virtual
Reference< XDynamicResultSet > SAL_CALL CachedDynamicResultSetStubFactory
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx
index 14fa320cc8d9..19826e66412a 100644
--- a/ucb/source/cacher/contentresultsetwrapper.cxx
+++ b/ucb/source/cacher/contentresultsetwrapper.cxx
@@ -36,11 +36,11 @@ using namespace com::sun::star::util;
using namespace cppu;
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class ContentResultSetWrapper
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
ContentResultSetWrapper::ContentResultSetWrapper(
Reference< XResultSet > xOrigin )
@@ -335,9 +335,9 @@ sal_Bool SAL_CALL ContentResultSetWrapper
*/
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
//list all interfaces inclusive baseclasses of interfaces
QUERYINTERFACE_IMPL_START( ContentResultSetWrapper )
@@ -352,9 +352,9 @@ QUERYINTERFACE_IMPL_START( ContentResultSetWrapper )
QUERYINTERFACE_IMPL_END
-//--------------------------------------------------------------------------
+
// XComponent methods.
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::dispose() throw( RuntimeException )
@@ -428,7 +428,7 @@ void SAL_CALL ContentResultSetWrapper
m_bInDispose = sal_False;
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::addEventListener( const Reference< XEventListener >& Listener )
@@ -444,7 +444,7 @@ void SAL_CALL ContentResultSetWrapper
m_pDisposeEventListeners->addInterface( Listener );
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::removeEventListener( const Reference< XEventListener >& Listener )
@@ -457,9 +457,9 @@ void SAL_CALL ContentResultSetWrapper
m_pDisposeEventListeners->removeInterface( Listener );
}
-//--------------------------------------------------------------------------
+
//XCloseable methods.
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL ContentResultSetWrapper
::close()
@@ -470,9 +470,9 @@ void SAL_CALL ContentResultSetWrapper
dispose();
}
-//--------------------------------------------------------------------------
+
//XResultSetMetaDataSupplier methods.
-//--------------------------------------------------------------------------
+
//virtual
Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper
::getMetaData()
@@ -503,9 +503,9 @@ Reference< XResultSetMetaData > SAL_CALL ContentResultSetWrapper
}
-//--------------------------------------------------------------------------
+
// XPropertySet methods.
-//--------------------------------------------------------------------------
+
// virtual
Reference< XPropertySetInfo > SAL_CALL ContentResultSetWrapper
::getPropertySetInfo() throw( RuntimeException )
@@ -519,7 +519,7 @@ Reference< XPropertySetInfo > SAL_CALL ContentResultSetWrapper
impl_initPropertySetInfo();
return m_xPropertySetInfo;
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::setPropertyValue( const OUString& rPropertyName, const Any& rValue )
@@ -539,7 +539,7 @@ void SAL_CALL ContentResultSetWrapper
m_xPropertySetOrigin->setPropertyValue( rPropertyName, rValue );
}
-//--------------------------------------------------------------------------
+
// virtual
Any SAL_CALL ContentResultSetWrapper
::getPropertyValue( const OUString& rPropertyName )
@@ -557,7 +557,7 @@ Any SAL_CALL ContentResultSetWrapper
return m_xPropertySetOrigin->getPropertyValue( rPropertyName );
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::addPropertyChangeListener(
@@ -609,7 +609,7 @@ void SAL_CALL ContentResultSetWrapper
}
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::addVetoableChangeListener(
@@ -660,7 +660,7 @@ void SAL_CALL ContentResultSetWrapper
}
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::removePropertyChangeListener(
@@ -719,7 +719,7 @@ void SAL_CALL ContentResultSetWrapper
}
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL ContentResultSetWrapper
::removeVetoableChangeListener(
@@ -778,9 +778,9 @@ void SAL_CALL ContentResultSetWrapper
}
}
-//--------------------------------------------------------------------------
+
// own methods.
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL ContentResultSetWrapper
@@ -835,9 +835,9 @@ void SAL_CALL ContentResultSetWrapper
impl_notifyVetoableChangeListeners( aEvt );
}
-//--------------------------------------------------------------------------
+
// XContentAccess methods. ( -- position dependent )
-//--------------------------------------------------------------------------
+
// virtual
OUString SAL_CALL ContentResultSetWrapper
@@ -854,7 +854,7 @@ OUString SAL_CALL ContentResultSetWrapper
return m_xContentAccessOrigin->queryContentIdentifierString();
}
-//--------------------------------------------------------------------------
+
// virtual
Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper
::queryContentIdentifier()
@@ -870,7 +870,7 @@ Reference< XContentIdentifier > SAL_CALL ContentResultSetWrapper
return m_xContentAccessOrigin->queryContentIdentifier();
}
-//--------------------------------------------------------------------------
+
// virtual
Reference< XContent > SAL_CALL ContentResultSetWrapper
::queryContent()
@@ -886,9 +886,9 @@ Reference< XContent > SAL_CALL ContentResultSetWrapper
return m_xContentAccessOrigin->queryContent();
}
-//-----------------------------------------------------------------
+
// XResultSet methods.
-//-----------------------------------------------------------------
+
//virtual
sal_Bool SAL_CALL ContentResultSetWrapper
@@ -1174,9 +1174,9 @@ Reference< XInterface > SAL_CALL ContentResultSetWrapper
return Reference< XInterface >();
}
-//-----------------------------------------------------------------
+
// XRow methods.
-//-----------------------------------------------------------------
+
#define XROW_GETXXX( getXXX ) \
impl_EnsureNotDisposed(); \
@@ -1389,11 +1389,11 @@ Reference< XArray > SAL_CALL ContentResultSetWrapper
XROW_GETXXX( getArray );
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class ContentResultSetWrapperListener
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
ContentResultSetWrapperListener::ContentResultSetWrapperListener(
ContentResultSetWrapper* pOwner )
@@ -1405,9 +1405,9 @@ ContentResultSetWrapperListener::~ContentResultSetWrapperListener()
{
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
//list all interfaces inclusive baseclasses of interfaces
XINTERFACE_COMMON_IMPL( ContentResultSetWrapperListener )
QUERYINTERFACE_IMPL_START( ContentResultSetWrapperListener )
@@ -1420,9 +1420,9 @@ QUERYINTERFACE_IMPL_START( ContentResultSetWrapperListener )
QUERYINTERFACE_IMPL_END
-//--------------------------------------------------------------------------
+
//XEventListener methods.
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL ContentResultSetWrapperListener
@@ -1433,9 +1433,9 @@ void SAL_CALL ContentResultSetWrapperListener
m_pOwner->impl_disposing( rEventObject );
}
-//--------------------------------------------------------------------------
+
//XPropertyChangeListener methods.
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL ContentResultSetWrapperListener
@@ -1446,9 +1446,9 @@ void SAL_CALL ContentResultSetWrapperListener
m_pOwner->impl_propertyChange( rEvt );
}
-//--------------------------------------------------------------------------
+
//XVetoableChangeListener methods.
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL ContentResultSetWrapperListener
::vetoableChange( const PropertyChangeEvent& rEvt )
diff --git a/ucb/source/cacher/dynamicresultsetwrapper.cxx b/ucb/source/cacher/dynamicresultsetwrapper.cxx
index e50863fc2c90..dc96206bdf13 100644
--- a/ucb/source/cacher/dynamicresultsetwrapper.cxx
+++ b/ucb/source/cacher/dynamicresultsetwrapper.cxx
@@ -33,11 +33,11 @@ using namespace com::sun::star::uno;
using namespace cppu;
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class DynamicResultSetWrapper
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
DynamicResultSetWrapper::DynamicResultSetWrapper(
Reference< XDynamicResultSet > xOrigin
@@ -121,9 +121,9 @@ void SAL_CALL DynamicResultSetWrapper
m_xMyResultTwo = xResultSet;
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
//list all interfaces inclusive baseclasses of interfaces
QUERYINTERFACE_IMPL_START( DynamicResultSetWrapper )
(static_cast< XComponent* >(this)) //base of XDynamicResultSet
@@ -131,9 +131,9 @@ QUERYINTERFACE_IMPL_START( DynamicResultSetWrapper )
, (static_cast< XSourceInitialization* >(this))
QUERYINTERFACE_IMPL_END
-//--------------------------------------------------------------------------
+
// XComponent methods.
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL DynamicResultSetWrapper
::dispose() throw( RuntimeException )
@@ -169,7 +169,7 @@ void SAL_CALL DynamicResultSetWrapper
m_bInDispose = sal_False;
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL DynamicResultSetWrapper
::addEventListener( const Reference< XEventListener >& Listener )
@@ -185,7 +185,7 @@ void SAL_CALL DynamicResultSetWrapper
m_pDisposeEventListeners->addInterface( Listener );
}
-//--------------------------------------------------------------------------
+
// virtual
void SAL_CALL DynamicResultSetWrapper
::removeEventListener( const Reference< XEventListener >& Listener )
@@ -198,9 +198,9 @@ void SAL_CALL DynamicResultSetWrapper
m_pDisposeEventListeners->removeInterface( Listener );
}
-//--------------------------------------------------------------------------
+
// own methods
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL DynamicResultSetWrapper
@@ -287,9 +287,9 @@ void SAL_CALL DynamicResultSetWrapper
*/
}
-//--------------------------------------------------------------------------
+
// XSourceInitialization
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL DynamicResultSetWrapper
::setSource( const Reference< XInterface > & Source )
@@ -329,9 +329,9 @@ void SAL_CALL DynamicResultSetWrapper
m_aSourceSet.set();
}
-//--------------------------------------------------------------------------
+
// XDynamicResultSet
-//--------------------------------------------------------------------------
+
//virtual
Reference< XResultSet > SAL_CALL DynamicResultSetWrapper
::getStaticResultSet()
@@ -447,11 +447,11 @@ sal_Int16 SAL_CALL DynamicResultSetWrapper
return xSource->getCapabilities();
}
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
// class DynamicResultSetWrapperListener
-//--------------------------------------------------------------------------
-//--------------------------------------------------------------------------
+
+
DynamicResultSetWrapperListener::DynamicResultSetWrapperListener(
DynamicResultSetWrapper* pOwner )
@@ -465,18 +465,18 @@ DynamicResultSetWrapperListener::~DynamicResultSetWrapperListener()
}
-//--------------------------------------------------------------------------
+
// XInterface methods.
-//--------------------------------------------------------------------------
+
//list all interfaces inclusive baseclasses of interfaces
XINTERFACE_IMPL_2( DynamicResultSetWrapperListener
, XDynamicResultSetListener
, XEventListener //base of XDynamicResultSetListener
);
-//--------------------------------------------------------------------------
+
// XDynamicResultSetListener methods:
-//--------------------------------------------------------------------------
+
//virtual
void SAL_CALL DynamicResultSetWrapperListener
::disposing( const EventObject& rEventObject )
@@ -499,9 +499,9 @@ void SAL_CALL DynamicResultSetWrapperListener
m_pOwner->impl_notify( Changes );
}
-//--------------------------------------------------------------------------
+
// own methods:
-//--------------------------------------------------------------------------
+
void SAL_CALL DynamicResultSetWrapperListener
::impl_OwnerDies()