summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r--sc/source/ui/unoobj/addruno.cxx2
-rw-r--r--sc/source/ui/unoobj/afmtuno.cxx16
-rw-r--r--sc/source/ui/unoobj/appluno.cxx18
-rw-r--r--sc/source/ui/unoobj/celllistsource.cxx42
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx42
-rw-r--r--sc/source/ui/unoobj/cellvaluebinding.cxx46
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx8
-rw-r--r--sc/source/ui/unoobj/chartuno.cxx10
-rw-r--r--sc/source/ui/unoobj/confuno.cxx2
-rw-r--r--sc/source/ui/unoobj/convuno.cxx2
-rw-r--r--sc/source/ui/unoobj/cursuno.cxx4
-rw-r--r--sc/source/ui/unoobj/dapiuno.cxx30
-rw-r--r--sc/source/ui/unoobj/datauno.cxx32
-rw-r--r--sc/source/ui/unoobj/defltuno.cxx6
-rw-r--r--sc/source/ui/unoobj/dispuno.cxx8
-rw-r--r--sc/source/ui/unoobj/docuno.cxx18
-rw-r--r--sc/source/ui/unoobj/drdefuno.cxx2
-rw-r--r--sc/source/ui/unoobj/editsrc.cxx8
-rw-r--r--sc/source/ui/unoobj/eventuno.cxx4
-rw-r--r--sc/source/ui/unoobj/fielduno.cxx4
-rw-r--r--sc/source/ui/unoobj/filtuno.cxx6
-rw-r--r--sc/source/ui/unoobj/fmtuno.cxx16
-rw-r--r--sc/source/ui/unoobj/forbiuno.cxx2
-rw-r--r--sc/source/ui/unoobj/funcuno.cxx12
-rw-r--r--sc/source/ui/unoobj/linkuno.cxx16
-rw-r--r--sc/source/ui/unoobj/listenercalls.cxx2
-rw-r--r--sc/source/ui/unoobj/miscuno.cxx12
-rw-r--r--sc/source/ui/unoobj/nameuno.cxx16
-rw-r--r--sc/source/ui/unoobj/notesuno.cxx6
-rw-r--r--sc/source/ui/unoobj/optuno.cxx4
-rw-r--r--sc/source/ui/unoobj/pageuno.cxx2
-rw-r--r--sc/source/ui/unoobj/servuno.cxx4
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx6
-rw-r--r--sc/source/ui/unoobj/srchuno.cxx8
-rw-r--r--sc/source/ui/unoobj/styleuno.cxx20
-rw-r--r--sc/source/ui/unoobj/targuno.cxx10
-rw-r--r--sc/source/ui/unoobj/textuno.cxx20
-rw-r--r--sc/source/ui/unoobj/unoreflist.cxx4
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx10
39 files changed, 240 insertions, 240 deletions
diff --git a/sc/source/ui/unoobj/addruno.cxx b/sc/source/ui/unoobj/addruno.cxx
index 9ebcb601e9c2..f68cae8554d5 100644
--- a/sc/source/ui/unoobj/addruno.cxx
+++ b/sc/source/ui/unoobj/addruno.cxx
@@ -32,7 +32,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
ScAddressConversionObj::ScAddressConversionObj(ScDocShell* pDocSh, bool _bIsRange) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx
index 5d5c998ab76a..2e0a87b9a443 100644
--- a/sc/source/ui/unoobj/afmtuno.cxx
+++ b/sc/source/ui/unoobj/afmtuno.cxx
@@ -60,12 +60,12 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
// ein AutoFormat hat immer 16 Eintraege
#define SC_AF_FIELD_COUNT 16
-//------------------------------------------------------------------------
+
// AutoFormat-Map nur fuer PropertySetInfo, ohne Which-IDs
@@ -143,7 +143,7 @@ static const SfxItemPropertyMapEntry* lcl_GetAutoFieldMap()
return aAutoFieldMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCAUTOFORMATSOBJ_SERVICE "com.sun.star.sheet.TableAutoFormats"
@@ -151,7 +151,7 @@ SC_SIMPLE_SERVICE_INFO( ScAutoFormatFieldObj, "ScAutoFormatFieldObj", "com.sun.s
SC_SIMPLE_SERVICE_INFO( ScAutoFormatObj, "ScAutoFormatObj", "com.sun.star.sheet.TableAutoFormat" )
SC_SIMPLE_SERVICE_INFO( ScAutoFormatsObj, "ScAutoFormatsObj", SCAUTOFORMATSOBJ_SERVICE )
-//------------------------------------------------------------------------
+
static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, const OUString& rName, sal_uInt16& rOutIndex )
{
@@ -170,7 +170,7 @@ static bool lcl_FindAutoFormatIndex( const ScAutoFormat& rFormats, const OUStrin
return false; // is nich
}
-//------------------------------------------------------------------------
+
ScAutoFormatsObj::ScAutoFormatsObj()
{
@@ -391,7 +391,7 @@ sal_Bool SAL_CALL ScAutoFormatsObj::hasByName( const OUString& aName )
*ScGlobal::GetOrCreateAutoFormat(), aString, nDummy );
}
-//------------------------------------------------------------------------
+
ScAutoFormatObj::ScAutoFormatObj(sal_uInt16 nIndex) :
aPropSet( lcl_GetAutoFormatMap() ),
@@ -656,7 +656,7 @@ uno::Any SAL_CALL ScAutoFormatObj::getPropertyValue( const OUString& aPropertyNa
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAutoFormatObj )
-//------------------------------------------------------------------------
+
ScAutoFormatFieldObj::ScAutoFormatFieldObj(sal_uInt16 nFormat, sal_uInt16 nField) :
aPropSet( lcl_GetAutoFieldMap() ),
@@ -853,7 +853,7 @@ uno::Any SAL_CALL ScAutoFormatFieldObj::getPropertyValue( const OUString& aPrope
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScAutoFormatFieldObj )
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index bb4fb89a5c91..827e64bc8211 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -42,7 +42,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// Calc document
extern uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
@@ -118,7 +118,7 @@ extern OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw
extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-//------------------------------------------------------------------------
+
// Anzahl der Funktionen, die als zuletzt benutzt gespeichert werden
//! Define mit funcpage.hxx und dwfunctr.hxx zusammenfassen !!!
@@ -133,7 +133,7 @@ extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_crea
// Anzahl der PropertyValues in einer Function-Description
#define SC_FUNCDESC_PROPCOUNT 5
-//------------------------------------------------------------------------
+
// alles ohne Which-ID, Map nur fuer PropertySetInfo
@@ -164,7 +164,7 @@ static const SfxItemPropertyMapEntry* lcl_GetSettingsPropertyMap()
return aSettingsPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCFUNCTIONLISTOBJ_SERVICE "com.sun.star.sheet.FunctionDescriptions"
#define SCRECENTFUNCTIONSOBJ_SERVICE "com.sun.star.sheet.RecentFunctions"
@@ -174,7 +174,7 @@ SC_SIMPLE_SERVICE_INFO( ScFunctionListObj, "ScFunctionListObj", SCFUNCTIONLISTOB
SC_SIMPLE_SERVICE_INFO( ScRecentFunctionsObj, "ScRecentFunctionsObj", SCRECENTFUNCTIONSOBJ_SERVICE )
SC_SIMPLE_SERVICE_INFO( ScSpreadsheetSettings, "ScSpreadsheetSettings", SCSPREADSHEETSETTINGS_SERVICE )
-//------------------------------------------------------------------------
+
extern "C" {
@@ -383,7 +383,7 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL sc_component_getFactory(
} // extern C
-//------------------------------------------------------------------------
+
ScSpreadsheetSettings::ScSpreadsheetSettings() :
aPropSet( lcl_GetSettingsPropertyMap() )
@@ -660,7 +660,7 @@ uno::Any SAL_CALL ScSpreadsheetSettings::getPropertyValue( const OUString& aProp
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSpreadsheetSettings )
-//------------------------------------------------------------------------
+
ScRecentFunctionsObj::ScRecentFunctionsObj()
{
@@ -741,7 +741,7 @@ sal_Int32 SAL_CALL ScRecentFunctionsObj::getMaxRecentFunctions() throw(uno::Runt
return LRU_MAX;
}
-//------------------------------------------------------------------------
+
ScFunctionListObj::ScFunctionListObj()
{
@@ -988,7 +988,7 @@ sal_Bool SAL_CALL ScFunctionListObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/celllistsource.cxx b/sc/source/ui/unoobj/celllistsource.cxx
index 4867a63bdae9..47d32d3ee420 100644
--- a/sc/source/ui/unoobj/celllistsource.cxx
+++ b/sc/source/ui/unoobj/celllistsource.cxx
@@ -48,7 +48,7 @@ namespace calc
//= OCellListSource
//=====================================================================
DBG_NAME( OCellListSource )
- //---------------------------------------------------------------------
+
#ifdef DBG_UTIL
const char* OCellListSource::checkConsistency_static( const void* _pThis )
{
@@ -65,7 +65,7 @@ namespace calc
}
#endif
- //---------------------------------------------------------------------
+
OCellListSource::OCellListSource( const Reference< XSpreadsheetDocument >& _rxDocument )
:OCellListSource_Base( m_aMutex )
,OCellListSource_PBase( OCellListSource_Base::rBHelper )
@@ -88,7 +88,7 @@ namespace calc
);
}
- //---------------------------------------------------------------------
+
OCellListSource::~OCellListSource( )
{
if ( !OCellListSource_Base::rBHelper.bDisposed )
@@ -100,13 +100,13 @@ namespace calc
DBG_DTOR( OCellListSource, checkConsistency_static );
}
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XINTERFACE2( OCellListSource, OCellListSource_Base, OCellListSource_PBase )
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XTYPEPROVIDER2( OCellListSource, OCellListSource_Base, OCellListSource_PBase )
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::disposing()
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -126,20 +126,20 @@ namespace calc
// TODO: clean up here whatever you need to clean up (e.g. revoking listeners etc.)
}
- //--------------------------------------------------------------------
+
Reference< XPropertySetInfo > SAL_CALL OCellListSource::getPropertySetInfo( ) throw(RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
return createPropertySetInfo( getInfoHelper() ) ;
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper& SAL_CALL OCellListSource::getInfoHelper()
{
return *OCellListSource_PABase::getArrayHelper();
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper* OCellListSource::createArrayHelper( ) const
{
Sequence< Property > aProps;
@@ -147,7 +147,7 @@ namespace calc
return new ::cppu::OPropertyArrayHelper(aProps);
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -158,7 +158,7 @@ namespace calc
_rValue <<= getRangeAddress( );
}
- //--------------------------------------------------------------------
+
void OCellListSource::checkDisposed( ) const SAL_THROW( ( DisposedException ) )
{
if ( OCellListSource_Base::rBHelper.bInDispose || OCellListSource_Base::rBHelper.bDisposed )
@@ -202,7 +202,7 @@ namespace calc
return aAddress;
}
- //--------------------------------------------------------------------
+
OUString OCellListSource::getCellTextContent_noCheck( sal_Int32 _nRangeRelativeColumn, sal_Int32 _nRangeRelativeRow )
{
OSL_PRECOND( m_xRange.is(), "OCellListSource::getRangeAddress: invalid range!" );
@@ -216,7 +216,7 @@ namespace calc
return sText;
}
- //--------------------------------------------------------------------
+
sal_Int32 SAL_CALL OCellListSource::getListEntryCount( ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -228,7 +228,7 @@ namespace calc
return aAddress.EndRow - aAddress.StartRow + 1;
}
- //--------------------------------------------------------------------
+
OUString SAL_CALL OCellListSource::getListEntry( sal_Int32 _nPosition ) throw (IndexOutOfBoundsException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -242,7 +242,7 @@ namespace calc
return getCellTextContent_noCheck( 0, _nPosition );
}
- //--------------------------------------------------------------------
+
Sequence< OUString > SAL_CALL OCellListSource::getAllListEntries( ) throw (RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -260,7 +260,7 @@ namespace calc
return aAllEntries;
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::addListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -274,7 +274,7 @@ namespace calc
m_aListEntryListeners.addInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::removeListEntryListener( const Reference< XListEntryListener >& _rxListener ) throw (NullPointerException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -288,7 +288,7 @@ namespace calc
m_aListEntryListeners.removeInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::modified( const EventObject& /* aEvent */ ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -296,7 +296,7 @@ namespace calc
notifyModified();
}
- //--------------------------------------------------------------------
+
void OCellListSource::notifyModified()
{
EventObject aEvent;
@@ -321,7 +321,7 @@ namespace calc
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::disposing( const EventObject& aEvent ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellListSource, checkConsistency_static );
@@ -334,7 +334,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellListSource::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
{
if ( m_bInitialized )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 9abcc28e92e6..ebbd4449cfc6 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -131,7 +131,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
class ScNamedEntry
{
@@ -146,7 +146,7 @@ public:
const ScRange& GetRange() const { return aRange; }
};
-//------------------------------------------------------------------------
+
// The names in the maps must be sorted according to strcmp!
//! Instead of Which-ID 0 use special IDs and do not compare via names!
@@ -856,12 +856,12 @@ static const SvxItemPropertySet* lcl_GetEditPropertySet()
return &aEditPropertySet;
}
-//------------------------------------------------------------------------
+
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCCHARPROPERTIES_SERVICE "com.sun.star.style.CharacterProperties"
#define SCPARAPROPERTIES_SERVICE "com.sun.star.style.ParagraphProperties"
@@ -883,7 +883,7 @@ SC_SIMPLE_SERVICE_INFO( ScCellsObj, "ScCellsObj", "com.sun.star.sheet.Cells" )
SC_SIMPLE_SERVICE_INFO( ScTableColumnObj, "ScTableColumnObj", "com.sun.star.table.TableColumn" )
SC_SIMPLE_SERVICE_INFO( ScTableRowObj, "ScTableRowObj", "com.sun.star.table.TableRow" )
-//------------------------------------------------------------------------
+
//! ScLinkListener in anderes File verschieben !!!
@@ -896,7 +896,7 @@ void ScLinkListener::Notify( SvtBroadcaster&, const SfxHint& rHint )
aLink.Call( (SfxHint*)&rHint );
}
-//------------------------------------------------------------------------
+
static void lcl_CopyProperties( beans::XPropertySet& rDest, beans::XPropertySet& rSource )
{
@@ -1051,7 +1051,7 @@ void ScHelperFunctions::AssignTableBorder2ToAny( uno::Any& rAny,
rAny <<= aBorder;
}
-//------------------------------------------------------------------------
+
//! lcl_ApplyBorder nach docfunc verschieben!
@@ -1403,7 +1403,7 @@ static OUString lcl_GetInputString( ScDocument* pDoc, const ScAddress& rPos, sal
return aVal;
}
-//------------------------------------------------------------------------
+
ScCellRangesBase::ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR) :
pPropSet(lcl_GetCellsPropertySet()),
@@ -1807,7 +1807,7 @@ uno::Sequence<sal_Int8> SAL_CALL ScCellRangesBase::getImplementationId()
return theScCellRangesBaseImplementationId::get().getSeq();
}
-// ---
+
void ScCellRangesBase::PaintRanges_Impl( sal_uInt16 nPart )
{
@@ -4146,7 +4146,7 @@ ScCellRangesBase* ScCellRangesBase::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
typedef boost::ptr_vector<ScNamedEntry> ScNamedEntryArr_Impl;
@@ -4782,7 +4782,7 @@ uno::Reference<table::XCellRange> ScCellRangeObj::CreateRangeFromDoc( ScDocument
return NULL;
}
-//------------------------------------------------------------------------
+
ScCellRangeObj::ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR) :
ScCellRangesBase( pDocSh, rR ),
@@ -6062,7 +6062,7 @@ uno::Sequence<OUString> SAL_CALL ScCellRangeObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
const SvxItemPropertySet* ScCellObj::GetEditPropertySet()
{
@@ -6874,7 +6874,7 @@ sal_Int16 SAL_CALL ScCellObj::resetActionLocks() throw(uno::RuntimeException)
return nRet;
}
-//------------------------------------------------------------------------
+
ScTableSheetObj::ScTableSheetObj( ScDocShell* pDocSh, SCTAB nTab ) :
ScCellRangeObj( pDocSh, ScRange(0,0,nTab, MAXCOL,MAXROW,nTab) ),
@@ -8728,7 +8728,7 @@ ScTableSheetObj* ScTableSheetObj::getImplementation( const uno::Reference<uno::X
return pRet;
}
-//------------------------------------------------------------------------
+
ScTableColumnObj::ScTableColumnObj( ScDocShell* pDocSh, SCCOL nCol, SCTAB nTab ) :
ScCellRangeObj( pDocSh, ScRange(nCol,0,nTab, nCol,MAXROW,nTab) ),
@@ -8937,7 +8937,7 @@ const SfxItemPropertyMap& ScTableColumnObj::GetItemPropertyMap()
return pColPropSet->getPropertyMap();
}
-//------------------------------------------------------------------------
+
ScTableRowObj::ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab) :
ScCellRangeObj( pDocSh, ScRange(0,nRow,nTab, MAXCOL,nRow,nTab) ),
@@ -9093,7 +9093,7 @@ const SfxItemPropertyMap& ScTableRowObj::GetItemPropertyMap()
return pRowPropSet->getPropertyMap();
}
-//------------------------------------------------------------------------
+
ScCellsObj::ScCellsObj(ScDocShell* pDocSh, const ScRangeList& rR) :
pDocShell( pDocSh ),
@@ -9154,7 +9154,7 @@ sal_Bool SAL_CALL ScCellsObj::hasElements() throw(uno::RuntimeException)
return bHas;
}
-//------------------------------------------------------------------------
+
ScCellsEnumeration::ScCellsEnumeration(ScDocShell* pDocSh, const ScRangeList& rR) :
pDocShell( pDocSh ),
@@ -9286,7 +9286,7 @@ uno::Any SAL_CALL ScCellsEnumeration::nextElement() throw(container::NoSuchEleme
throw container::NoSuchElementException(); // no more elements
}
-//------------------------------------------------------------------------
+
ScCellFormatsObj::ScCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9408,7 +9408,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScCellFormatsObj::createEnumera
return NULL;
}
-//------------------------------------------------------------------------
+
ScCellFormatsEnumeration::ScCellFormatsEnumeration(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9516,7 +9516,7 @@ uno::Any SAL_CALL ScCellFormatsEnumeration::nextElement() throw(container::NoSuc
return uno::makeAny(uno::Reference<table::XCellRange> (NextObject_Impl()));
}
-//------------------------------------------------------------------------
+
ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) :
pDocShell( pDocSh ),
@@ -9786,7 +9786,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScUniqueCellFormatsObj::createE
return NULL;
}
-//------------------------------------------------------------------------
+
ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(ScDocShell* pDocSh, const ScMyRangeLists& rRangeLists) :
aRangeLists(rRangeLists),
diff --git a/sc/source/ui/unoobj/cellvaluebinding.cxx b/sc/source/ui/unoobj/cellvaluebinding.cxx
index 2236bac9cd14..1118ca6b30c0 100644
--- a/sc/source/ui/unoobj/cellvaluebinding.cxx
+++ b/sc/source/ui/unoobj/cellvaluebinding.cxx
@@ -52,7 +52,7 @@ namespace calc
//= OCellValueBinding
//=====================================================================
DBG_NAME( OCellValueBinding )
- //---------------------------------------------------------------------
+
#ifdef DBG_UTIL
const char* OCellValueBinding::checkConsistency_static( const void* _pThis )
{
@@ -72,7 +72,7 @@ namespace calc
}
#endif
- //---------------------------------------------------------------------
+
OCellValueBinding::OCellValueBinding( const Reference< XSpreadsheetDocument >& _rxDocument, bool _bListPos )
:OCellValueBinding_Base( m_aMutex )
,OCellValueBinding_PBase( OCellValueBinding_Base::rBHelper )
@@ -97,7 +97,7 @@ namespace calc
// which probably maps to the cell being locked
}
- //---------------------------------------------------------------------
+
OCellValueBinding::~OCellValueBinding( )
{
if ( !OCellValueBinding_Base::rBHelper.bDisposed )
@@ -109,13 +109,13 @@ namespace calc
DBG_DTOR( OCellValueBinding, checkConsistency_static );
}
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XINTERFACE2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase )
- //--------------------------------------------------------------------
+
IMPLEMENT_FORWARD_XTYPEPROVIDER2( OCellValueBinding, OCellValueBinding_Base, OCellValueBinding_PBase )
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::disposing()
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -132,20 +132,20 @@ namespace calc
// for the cell)
}
- //--------------------------------------------------------------------
+
Reference< XPropertySetInfo > SAL_CALL OCellValueBinding::getPropertySetInfo( ) throw(RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
return createPropertySetInfo( getInfoHelper() ) ;
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper& SAL_CALL OCellValueBinding::getInfoHelper()
{
return *OCellValueBinding_PABase::getArrayHelper();
}
- //--------------------------------------------------------------------
+
::cppu::IPropertyArrayHelper* OCellValueBinding::createArrayHelper( ) const
{
Sequence< Property > aProps;
@@ -153,7 +153,7 @@ namespace calc
return new ::cppu::OPropertyArrayHelper(aProps);
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::getFastPropertyValue( Any& _rValue, sal_Int32 _nHandle ) const
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -167,7 +167,7 @@ namespace calc
_rValue <<= xCellAddress->getCellAddress( );
}
- //--------------------------------------------------------------------
+
Sequence< Type > SAL_CALL OCellValueBinding::getSupportedValueTypes( ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -199,7 +199,7 @@ namespace calc
return aTypes;
}
- //--------------------------------------------------------------------
+
sal_Bool SAL_CALL OCellValueBinding::supportsType( const Type& aType ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -217,7 +217,7 @@ namespace calc
return false;
}
- //--------------------------------------------------------------------
+
Any SAL_CALL OCellValueBinding::getValue( const Type& aType ) throw (IncompatibleTypesException, RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -304,7 +304,7 @@ namespace calc
return aReturn;
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::setValue( const Any& aValue ) throw (IncompatibleTypesException, NoSupportException, RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -388,7 +388,7 @@ namespace calc
// above
}
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::setBooleanFormat()
{
// set boolean number format if not already set
@@ -435,7 +435,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkDisposed( ) const SAL_THROW( ( DisposedException ) )
{
if ( OCellValueBinding_Base::rBHelper.bInDispose || OCellValueBinding_Base::rBHelper.bDisposed )
@@ -443,7 +443,7 @@ namespace calc
// TODO: is it worth having an error message here?
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkInitialized() SAL_THROW( ( RuntimeException ) )
{
if ( !m_bInitialized )
@@ -451,7 +451,7 @@ namespace calc
// TODO: error message
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::checkValueType( const Type& _rType ) const SAL_THROW( ( IncompatibleTypesException ) )
{
OCellValueBinding* pNonConstThis = const_cast< OCellValueBinding* >( this );
@@ -497,14 +497,14 @@ namespace calc
m_aModifyListeners.addInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::removeModifyListener( const Reference< XModifyListener >& _rxListener ) throw (RuntimeException)
{
if ( _rxListener.is() )
m_aModifyListeners.removeInterface( _rxListener );
}
- //--------------------------------------------------------------------
+
void OCellValueBinding::notifyModified()
{
EventObject aEvent;
@@ -528,7 +528,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::modified( const EventObject& /* aEvent */ ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -536,7 +536,7 @@ namespace calc
notifyModified();
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::disposing( const EventObject& aEvent ) throw (RuntimeException)
{
DBG_CHKTHIS( OCellValueBinding, checkConsistency_static );
@@ -550,7 +550,7 @@ namespace calc
}
}
- //--------------------------------------------------------------------
+
void SAL_CALL OCellValueBinding::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
{
if ( m_bInitialized )
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index 05121150e8ee..795cfdfc06ba 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -433,7 +433,7 @@ vector<ScTokenRef>* Chart2PositionMap::getDataRowRanges(SCROW nRow) const
return maData.getRowRanges( nRow);
}
-// ----------------------------------------------------------------------------
+
/**
* Designed to be a drop-in replacement for ScChartPositioner, in order to
@@ -1092,7 +1092,7 @@ Reference< chart2::data::XLabeledDataSequence > lcl_createLabeledDataSequenceFro
}
SAL_WNODEPRECATED_DECLARATIONS_POP
-//----------------------------------------------------
+
/**
* Check the current list of reference tokens, and add the upper left
* corner of the minimum range that encloses all ranges if certain
@@ -2970,7 +2970,7 @@ IMPL_LINK( ScChart2DataSequence, ValueListenerHdl, SfxHint*, pHint )
return 0;
}
-// ----------------------------------------------------------------------------
+
ScChart2DataSequence::ExternalRefListener::ExternalRefListener(
ScChart2DataSequence& rParent, ScDocument* pDoc) :
@@ -3022,7 +3022,7 @@ const boost::unordered_set<sal_uInt16>& ScChart2DataSequence::ExternalRefListene
return maFileIds;
}
-// ----------------------------------------------------------------------------
+
uno::Sequence< uno::Any> SAL_CALL ScChart2DataSequence::getData()
throw (uno::RuntimeException, std::exception)
diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx
index cbd44d8cba64..20c06141b059 100644
--- a/sc/source/ui/unoobj/chartuno.cxx
+++ b/sc/source/ui/unoobj/chartuno.cxx
@@ -49,12 +49,12 @@ using namespace com::sun::star;
#define PROP_HANDLE_RELATED_CELLRANGES 1
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScChartObj, "ScChartObj", "com.sun.star.table.TableChart" )
SC_SIMPLE_SERVICE_INFO( ScChartsObj, "ScChartsObj", "com.sun.star.table.TableCharts" )
-//------------------------------------------------------------------------
+
static SdrOle2Obj* lcl_FindChartObj( ScDocShell* pDocShell, SCTAB nTab, const OUString& rName )
{
@@ -90,7 +90,7 @@ static SdrOle2Obj* lcl_FindChartObj( ScDocShell* pDocShell, SCTAB nTab, const OU
return NULL;
}
-//------------------------------------------------------------------------
+
ScChartsObj::ScChartsObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -443,7 +443,7 @@ sal_Bool SAL_CALL ScChartsObj::hasByName( const OUString& aName )
return ( lcl_FindChartObj( pDocShell, nTab, aName ) != NULL );
}
-//------------------------------------------------------------------------
+
ScChartObj::ScChartObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN)
:ScChartObj_Base( m_aMutex )
@@ -795,7 +795,7 @@ uno::Reference< beans::XPropertySetInfo > ScChartObj::getPropertySetInfo() throw
return createPropertySetInfo( getInfoHelper() ) ;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/confuno.cxx b/sc/source/ui/unoobj/confuno.cxx
index 938bdf81d7db..70f8d03e2d24 100644
--- a/sc/source/ui/unoobj/confuno.cxx
+++ b/sc/source/ui/unoobj/confuno.cxx
@@ -81,7 +81,7 @@ static const SfxItemPropertyMapEntry* lcl_GetConfigPropertyMap()
return aConfigPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
ScDocumentConfiguration::ScDocumentConfiguration(ScDocShell* pDocSh)
: pDocShell(pDocSh) ,
diff --git a/sc/source/ui/unoobj/convuno.cxx b/sc/source/ui/unoobj/convuno.cxx
index 013ed0646acf..ea9c55144c07 100644
--- a/sc/source/ui/unoobj/convuno.cxx
+++ b/sc/source/ui/unoobj/convuno.cxx
@@ -24,7 +24,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// everything is static...
diff --git a/sc/source/ui/unoobj/cursuno.cxx b/sc/source/ui/unoobj/cursuno.cxx
index 5985b6df2d2b..d9e21c0b04e4 100644
--- a/sc/source/ui/unoobj/cursuno.cxx
+++ b/sc/source/ui/unoobj/cursuno.cxx
@@ -34,12 +34,12 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
#define SCSHEETCELLCURSOR_SERVICE "com.sun.star.sheet.SheetCellCursor"
#define SCCELLCURSOR_SERVICE "com.sun.star.table.CellCursor"
-//------------------------------------------------------------------------
+
ScCellCursorObj::ScCellCursorObj(ScDocShell* pDocSh, const ScRange& rR) :
ScCellRangeObj( pDocSh, rR )
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx
index 4f793bc3b22c..2e33485d3326 100644
--- a/sc/source/ui/unoobj/dapiuno.cxx
+++ b/sc/source/ui/unoobj/dapiuno.cxx
@@ -110,7 +110,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotDescriptorBaseMap()
return aDataPilotDescriptorBaseMap_Impl;
}
-// ----------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* lcl_GetDataPilotFieldMap()
{
@@ -138,7 +138,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotFieldMap()
return aDataPilotFieldMap_Impl;
}
-// ----------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* lcl_GetDataPilotItemMap()
{
@@ -152,7 +152,7 @@ const SfxItemPropertyMapEntry* lcl_GetDataPilotItemMap()
return aDataPilotItemMap_Impl;
}
-// ----------------------------------------------------------------------------
+
inline bool lclCheckValidDouble( double fValue, sal_Bool bAuto )
{
@@ -185,12 +185,12 @@ SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupsObj, "ScDataPilotFieldGroupsObj",
SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupObj, "ScDataPilotFieldGroupObj", "com.sun.star.sheet.DataPilotFieldGroup" )
SC_SIMPLE_SERVICE_INFO( ScDataPilotFieldGroupItemObj, "ScDataPilotFieldGroupItemObj", "com.sun.star.sheet.DataPilotFieldGroupItem" )
-//------------------------------------------------------------------------
+
// name that is used in the API for the data layout field
#define SC_DATALAYOUT_NAME "Data"
-//------------------------------------------------------------------------
+
GeneralFunction ScDataPilotConversion::FirstFunc( sal_uInt16 nBits )
{
@@ -244,7 +244,7 @@ void ScDataPilotConversion::FillGroupInfo( DataPilotFieldGroupInfo& rInfo, const
rInfo.Step = rGroupInfo.mfStep;
}
-//------------------------------------------------------------------------
+
static ScDPObject* lcl_GetDPObject( ScDocShell* pDocShell, SCTAB nTab, const OUString& rName )
{
@@ -296,7 +296,7 @@ static sal_Int32 lcl_GetObjectIndex( ScDPObject* pDPObj, const ScFieldIdentifier
return -1; // none
}
-//------------------------------------------------------------------------
+
ScDataPilotTablesObj::ScDataPilotTablesObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -593,7 +593,7 @@ sal_Bool SAL_CALL ScDataPilotTablesObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScDataPilotDescriptorBase::ScDataPilotDescriptorBase(ScDocShell* pDocSh) :
maPropSet( lcl_GetDataPilotDescriptorBaseMap() ),
@@ -1103,7 +1103,7 @@ ScDataPilotDescriptorBase* ScDataPilotDescriptorBase::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScDataPilotTableObj::ScDataPilotTableObj(ScDocShell* pDocSh, SCTAB nT, const OUString& rN) :
ScDataPilotDescriptorBase( pDocSh ),
@@ -1170,7 +1170,7 @@ Sequence<sal_Int8> SAL_CALL ScDataPilotTableObj::getImplementationId()
return theScDataPilotTableObjImplementationId::get().getSeq();
}
-// ---
+
ScDPObject* ScDataPilotTableObj::GetDPObject() const
{
return lcl_GetDPObject(GetDocShell(), nTab, aName);
@@ -1822,7 +1822,7 @@ sal_Bool SAL_CALL ScDataPilotFieldsObj::hasByName( const OUString& aName )
return GetObjectByName_Impl(aName) != NULL;
}
-//------------------------------------------------------------------------
+
ScDataPilotFieldObj::ScDataPilotFieldObj(
ScDataPilotDescriptorBase& rParent, const ScFieldIdentifier& rFieldId ) :
@@ -2865,7 +2865,7 @@ bool lclExtractGroupMembers( ScFieldGroupMembers& rMembers, const Any& rElement
} // namespace
-// ----------------------------------------------------------------------------
+
ScDataPilotFieldGroupsObj::ScDataPilotFieldGroupsObj( const ScFieldGroups& rGroups ) :
maGroups( rGroups )
@@ -3058,7 +3058,7 @@ OUString lclExtractMember( const Any& rElement )
} // namespace
-// ----------------------------------------------------------------------------
+
ScDataPilotFieldGroupObj::ScDataPilotFieldGroupObj( ScDataPilotFieldGroupsObj& rParent, const OUString& rGroupName ) :
mrParent( rParent ),
@@ -3361,7 +3361,7 @@ sal_Bool SAL_CALL ScDataPilotItemsObj::hasElements() throw(RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScDataPilotItemObj::ScDataPilotItemObj( ScDataPilotDescriptorBase& rParent, const ScFieldIdentifier& rFieldId, sal_Int32 nIndex ) :
ScDataPilotChildObjBase( rParent, rFieldId ),
@@ -3543,7 +3543,7 @@ void SAL_CALL ScDataPilotItemObj::removeVetoableChangeListener(
{
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index 18a93361cc72..81388051b7cf 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -61,7 +61,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// alles ohne Which-ID, Map nur fuer PropertySetInfo
@@ -128,7 +128,7 @@ static const SfxItemPropertyMapEntry* lcl_GetDBRangePropertyMap()
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScConsolidationDescriptor, "ScConsolidationDescriptor", "com.sun.star.sheet.ConsolidationDescriptor" )
@@ -162,7 +162,7 @@ sheet::GeneralFunction ScDataUnoConversion::SubTotalToGeneral( ScSubTotalFunc e
return eGeneral;
}
-//------------------------------------------------------------------------
+
// ScImportDescriptor: alles static
@@ -270,7 +270,7 @@ void ScImportDescriptor::FillImportParam( ScImportParam& rParam, const uno::Sequ
}
}
-//------------------------------------------------------------------------
+
// ScSortDescriptor: alles static
@@ -467,7 +467,7 @@ void ScSortDescriptor::FillSortParam( ScSortParam& rParam, const uno::Sequence<b
}
}
-//------------------------------------------------------------------------
+
ScSubTotalFieldObj::ScSubTotalFieldObj( ScSubTotalDescriptorBase* pDesc, sal_uInt16 nP ) :
xRef( pDesc ), // Objekt festhalten
@@ -558,7 +558,7 @@ void SAL_CALL ScSubTotalFieldObj::setSubTotalColumns(
rParent.PutData(aParam);
}
-//------------------------------------------------------------------------
+
ScSubTotalDescriptorBase::ScSubTotalDescriptorBase() :
aPropSet( lcl_GetSubTotalPropertyMap() )
@@ -813,7 +813,7 @@ ScSubTotalDescriptorBase* ScSubTotalDescriptorBase::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScSubTotalDescriptor::ScSubTotalDescriptor()
{
@@ -838,7 +838,7 @@ void ScSubTotalDescriptor::SetParam( const ScSubTotalParam& rNew )
aStoredParam = rNew; // von aussen gesetzt
}
-//------------------------------------------------------------------------
+
ScRangeSubTotalDescriptor::ScRangeSubTotalDescriptor(ScDatabaseRangeObj* pPar) :
pParent(pPar)
@@ -865,7 +865,7 @@ void ScRangeSubTotalDescriptor::PutData( const ScSubTotalParam& rParam )
pParent->SetSubTotalParam( rParam );
}
-//------------------------------------------------------------------------
+
ScConsolidationDescriptor::ScConsolidationDescriptor()
{
@@ -1557,7 +1557,7 @@ uno::Any SAL_CALL ScFilterDescriptorBase::getPropertyValue( const OUString& aPro
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScFilterDescriptorBase )
-//------------------------------------------------------------------------
+
ScFilterDescriptor::ScFilterDescriptor(ScDocShell* pDocShell)
:
@@ -1584,7 +1584,7 @@ void ScFilterDescriptor::SetParam( const ScQueryParam& rNew )
aStoredParam = rNew; // von aussen gesetzt
}
-//------------------------------------------------------------------------
+
ScRangeFilterDescriptor::ScRangeFilterDescriptor(ScDocShell* pDocShell, ScDatabaseRangeObj* pPar) :
ScFilterDescriptorBase(pDocShell),
@@ -1612,7 +1612,7 @@ void ScRangeFilterDescriptor::PutData( const ScQueryParam& rParam )
pParent->SetQueryParam( rParam );
}
-//------------------------------------------------------------------------
+
ScDataPilotFilterDescriptor::ScDataPilotFilterDescriptor(ScDocShell* pDocShell, ScDataPilotDescriptorBase* pPar) :
ScFilterDescriptorBase(pDocShell),
@@ -1655,7 +1655,7 @@ void ScDataPilotFilterDescriptor::PutData( const ScQueryParam& rParam )
}
}
-//------------------------------------------------------------------------
+
ScDatabaseRangeObj::ScDatabaseRangeObj(ScDocShell* pDocSh, const OUString& rNm) :
pDocShell( pDocSh ),
@@ -2226,7 +2226,7 @@ uno::Sequence<OUString> SAL_CALL ScDatabaseRangeObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
ScDatabaseRangesObj::ScDatabaseRangesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2424,7 +2424,7 @@ sal_Bool SAL_CALL ScDatabaseRangesObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScUnnamedDatabaseRangesObj::ScUnnamedDatabaseRangesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2510,7 +2510,7 @@ sal_Bool ScUnnamedDatabaseRangesObj::hasByTable( sal_Int32 nTab )
return false;
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/defltuno.cxx b/sc/source/ui/unoobj/defltuno.cxx
index 78337ff679bc..386bbbde0300 100644
--- a/sc/source/ui/unoobj/defltuno.cxx
+++ b/sc/source/ui/unoobj/defltuno.cxx
@@ -38,7 +38,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static const SfxItemPropertyMapEntry* lcl_GetDocDefaultsMap()
{
@@ -73,11 +73,11 @@ using sc::HMMToTwips;
using sc::TwipsToHMM;
using sc::TwipsToEvenHMM;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScDocDefaultsObj, "ScDocDefaultsObj", "com.sun.star.sheet.Defaults" )
-//------------------------------------------------------------------------
+
ScDocDefaultsObj::ScDocDefaultsObj(ScDocShell* pDocSh) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/dispuno.cxx b/sc/source/ui/unoobj/dispuno.cxx
index 496a3d581f4e..7d2ba674cf1f 100644
--- a/sc/source/ui/unoobj/dispuno.cxx
+++ b/sc/source/ui/unoobj/dispuno.cxx
@@ -34,12 +34,12 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const char* cURLInsertColumns = ".uno:DataSourceBrowser/InsertColumns"; //data into text
static const char* cURLDocDataSource = ".uno:DataSourceBrowser/DocumentDataSource";
-//------------------------------------------------------------------------
+
static uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxViewShell* pViewShell )
{
@@ -54,7 +54,7 @@ static uno::Reference<view::XSelectionSupplier> lcl_GetSelectionSupplier( SfxVie
return uno::Reference<view::XSelectionSupplier>();
}
-//------------------------------------------------------------------------
+
ScDispatchProviderInterceptor::ScDispatchProviderInterceptor(ScTabViewShell* pViewSh) :
@@ -194,7 +194,7 @@ void SAL_CALL ScDispatchProviderInterceptor::disposing( const lang::EventObject&
m_xIntercepted = NULL;
}
-//------------------------------------------------------------------------
+
ScDispatch::ScDispatch(ScTabViewShell* pViewSh) :
pViewShell( pViewSh ),
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index dcdd27036ea0..b58b3e6f3c8b 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -192,7 +192,7 @@ static const SfxItemPropertyMapEntry* lcl_GetRowsPropertyMap()
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCMODELOBJ_SERVICE "com.sun.star.sheet.SpreadsheetDocument"
#define SCDOCSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetDocumentSettings"
@@ -206,7 +206,7 @@ SC_SIMPLE_SERVICE_INFO( ScTableColumnsObj, "ScTableColumnsObj", "com.sun.star.ta
SC_SIMPLE_SERVICE_INFO( ScTableRowsObj, "ScTableRowsObj", "com.sun.star.table.TableRows" )
SC_SIMPLE_SERVICE_INFO( ScTableSheetsObj, "ScTableSheetsObj", "com.sun.star.sheet.Spreadsheets" )
-//------------------------------------------------------------------------
+
class ScPrintUIOptions : public vcl::PrinterOptionsHelper
{
@@ -2384,7 +2384,7 @@ uno::Sequence< sheet::opencl::OpenCLPlatform > ScModelObj::getOpenCLPlatforms()
}
-//------------------------------------------------------------------------
+
ScDrawPagesObj::ScDrawPagesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2496,7 +2496,7 @@ sal_Bool SAL_CALL ScDrawPagesObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScTableSheetsObj::ScTableSheetsObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -2903,7 +2903,7 @@ sal_Bool SAL_CALL ScTableSheetsObj::hasByName( const OUString& aName )
return false;
}
-//------------------------------------------------------------------------
+
ScTableColumnsObj::ScTableColumnsObj(ScDocShell* pDocSh, SCTAB nT, SCCOL nSC, SCCOL nEC) :
pDocShell( pDocSh ),
@@ -3173,7 +3173,7 @@ uno::Any SAL_CALL ScTableColumnsObj::getPropertyValue( const OUString& aProperty
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScTableColumnsObj )
-//------------------------------------------------------------------------
+
ScTableRowsObj::ScTableRowsObj(ScDocShell* pDocSh, SCTAB nT, SCROW nSR, SCROW nER) :
pDocShell( pDocSh ),
@@ -3461,7 +3461,7 @@ uno::Any SAL_CALL ScTableRowsObj::getPropertyValue( const OUString& aPropertyNam
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScTableRowsObj )
-//------------------------------------------------------------------------
+
ScSpreadsheetSettingsObj::~ScSpreadsheetSettingsObj()
{
@@ -3508,7 +3508,7 @@ uno::Any SAL_CALL ScSpreadsheetSettingsObj::getPropertyValue( const OUString& /*
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSpreadsheetSettingsObj )
-//------------------------------------------------------------------------
+
ScAnnotationsObj::ScAnnotationsObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
@@ -3640,7 +3640,7 @@ sal_Bool SAL_CALL ScAnnotationsObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScScenariosObj::ScScenariosObj(ScDocShell* pDocSh, SCTAB nT) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/drdefuno.cxx b/sc/source/ui/unoobj/drdefuno.cxx
index 12de924bea6f..a6f5ed09359d 100644
--- a/sc/source/ui/unoobj/drdefuno.cxx
+++ b/sc/source/ui/unoobj/drdefuno.cxx
@@ -23,7 +23,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
ScDrawDefaultsObj::ScDrawDefaultsObj(ScDocShell* pDocSh) :
SvxUnoDrawPool( NULL ),
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx
index a84b71788d74..de0f08766d09 100644
--- a/sc/source/ui/unoobj/editsrc.cxx
+++ b/sc/source/ui/unoobj/editsrc.cxx
@@ -66,7 +66,7 @@ void ScHeaderFooterEditSource::UpdateData()
mrTextData.UpdateData();
}
-//------------------------------------------------------------------------
+
ScCellEditSource::ScCellEditSource(ScDocShell* pDocSh, const ScAddress& rP) :
pCellTextData(new ScCellTextData(pDocSh, rP)) {}
@@ -106,7 +106,7 @@ ScEditEngineDefaulter* ScCellEditSource::GetEditEngine()
return pCellTextData->GetEditEngine();
}
-//------------------------------------------------------------------------
+
ScAnnotationEditSource::ScAnnotationEditSource(ScDocShell* pDocSh, const ScAddress& rP) :
pDocShell( pDocSh ),
@@ -216,7 +216,7 @@ void ScAnnotationEditSource::Notify( SfxBroadcaster&, const SfxHint& rHint )
}
}
-//------------------------------------------------------------------------
+
ScSimpleEditSource::ScSimpleEditSource( SvxTextForwarder* pForw ) :
pForwarder( pForw )
@@ -245,7 +245,7 @@ void ScSimpleEditSource::UpdateData()
// nothing
}
-//------------------------------------------------------------------------
+
SAL_WNODEPRECATED_DECLARATIONS_PUSH
ScAccessibilityEditSource::ScAccessibilityEditSource( ::std::auto_ptr < ScAccessibleTextData > pAccessibleCellTextData )
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx
index 5d2b140eb850..665cef1d2b22 100644
--- a/sc/source/ui/unoobj/eventuno.cxx
+++ b/sc/source/ui/unoobj/eventuno.cxx
@@ -27,11 +27,11 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScSheetEventsObj, "ScSheetEventsObj", "com.sun.star.document.Events" )
-//------------------------------------------------------------------------
+
ScSheetEventsObj::ScSheetEventsObj(ScDocShell* pDocSh, SCTAB nT) :
mpDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index 125520ecac14..e227a5c6a969 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -149,7 +149,7 @@ sal_Int16 lcl_SvxToUnoFileFormat( SvxFileFormat nSvxValue )
SC_SIMPLE_SERVICE_INFO( ScCellFieldsObj, "ScCellFieldsObj", "com.sun.star.text.TextFields" )
SC_SIMPLE_SERVICE_INFO( ScHeaderFieldsObj, "ScHeaderFieldsObj", "com.sun.star.text.TextFields" )
-//------------------------------------------------------------------------
+
// ScUnoEditEngine nur um aus einer EditEngine die Felder herauszubekommen...
@@ -281,7 +281,7 @@ SvxFieldData* ScUnoEditEngine::FindByPos(sal_Int32 nPar, sal_Int32 nPos, sal_Int
return pFound;
}
-//------------------------------------------------------------------------
+
ScCellFieldsObj::ScCellFieldsObj(
const uno::Reference<text::XTextRange>& xContent,
diff --git a/sc/source/ui/unoobj/filtuno.cxx b/sc/source/ui/unoobj/filtuno.cxx
index ef9e51752615..e5e6a7deeb83 100644
--- a/sc/source/ui/unoobj/filtuno.cxx
+++ b/sc/source/ui/unoobj/filtuno.cxx
@@ -46,7 +46,7 @@ using namespace ::com::sun::star;
using namespace rtl;
using namespace com::sun::star::uno;
-//------------------------------------------------------------------------
+
#define SCFILTEROPTIONSOBJ_SERVICE "com.sun.star.ui.dialogs.FilterOptionsDialog"
#define SCFILTEROPTIONSOBJ_IMPLNAME "com.sun.star.comp.Calc.FilterOptionsDialog"
@@ -63,7 +63,7 @@ SC_SIMPLE_SERVICE_INFO( ScFilterOptionsObj, SCFILTEROPTIONSOBJ_IMPLNAME, SCFILTE
#define DBF_SEP_PATH_IMPORT "Office.Calc/Dialogs/DBFImport"
#define DBF_SEP_PATH_EXPORT "Office.Calc/Dialogs/DBFExport"
-//------------------------------------------------------------------------
+
static void load_CharSet( rtl_TextEncoding &nCharSet, bool bExport )
{
@@ -109,7 +109,7 @@ static void save_CharSet( rtl_TextEncoding nCharSet, bool bExport )
aItem.PutProperties(aNames, aValues);
}
-//------------------------------------------------------------------------
+
ScFilterOptionsObj::ScFilterOptionsObj() :
bExport( false )
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx
index 425a72fdf465..ac0c45785549 100644
--- a/sc/source/ui/unoobj/fmtuno.cxx
+++ b/sc/source/ui/unoobj/fmtuno.cxx
@@ -40,7 +40,7 @@
using namespace ::com::sun::star;
using namespace ::formula;
-//------------------------------------------------------------------------
+
// Map nur fuer PropertySetInfo
@@ -63,13 +63,13 @@ static const SfxItemPropertyMapEntry* lcl_GetValidatePropertyMap()
return aValidatePropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScTableConditionalEntry, "ScTableConditionalEntry", "com.sun.star.sheet.TableConditionalEntry" )
SC_SIMPLE_SERVICE_INFO( ScTableConditionalFormat, "ScTableConditionalFormat", "com.sun.star.sheet.TableConditionalFormat" )
SC_SIMPLE_SERVICE_INFO( ScTableValidationObj, "ScTableValidationObj", "com.sun.star.sheet.TableValidation" )
-//------------------------------------------------------------------------
+
static sal_Int32 lcl_ConditionModeToOperatorNew( ScConditionMode eMode )
{
@@ -138,7 +138,7 @@ static ScConditionMode lcl_ConditionOperatorToMode( sheet::ConditionOperator eOp
return eMode;
}
-//------------------------------------------------------------------------
+
ScCondFormatEntryItem::ScCondFormatEntryItem() :
meGrammar1( FormulaGrammar::GRAM_UNSPECIFIED ),
@@ -147,7 +147,7 @@ ScCondFormatEntryItem::ScCondFormatEntryItem() :
{
}
-//------------------------------------------------------------------------
+
ScTableConditionalFormat::ScTableConditionalFormat(
ScDocument* pDoc, sal_uLong nKey, SCTAB nTab, FormulaGrammar::Grammar eGrammar)
@@ -511,7 +511,7 @@ ScTableConditionalFormat* ScTableConditionalFormat::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScTableConditionalEntry::ScTableConditionalEntry(const ScCondFormatEntryItem& aItem) :
aData( aItem )
@@ -616,7 +616,7 @@ void SAL_CALL ScTableConditionalEntry::setStyleName( const OUString& aStyleName
aData.maStyle = ScStyleNameConversion::ProgrammaticToDisplayName( aStyleName, SFX_STYLE_FAMILY_PARA );
}
-//------------------------------------------------------------------------
+
ScTableValidationObj::ScTableValidationObj(ScDocument* pDoc, sal_uLong nKey,
const formula::FormulaGrammar::Grammar eGrammar) :
@@ -1041,7 +1041,7 @@ ScTableValidationObj* ScTableValidationObj::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/forbiuno.cxx b/sc/source/ui/unoobj/forbiuno.cxx
index 242816de80fc..031ccdf7f3b3 100644
--- a/sc/source/ui/unoobj/forbiuno.cxx
+++ b/sc/source/ui/unoobj/forbiuno.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static rtl::Reference<SvxForbiddenCharactersTable> lcl_GetForbidden( ScDocShell* pDocSh )
{
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index 5002b712d43b..db56e8196dda 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -48,7 +48,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
// registered as implementation for service FunctionAccess,
// also supports service SpreadsheetDocumentSettings (to set null date etc.)
@@ -56,7 +56,7 @@ using namespace com::sun::star;
#define SCFUNCTIONACCESS_SERVICE "com.sun.star.sheet.FunctionAccess"
#define SCDOCSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetDocumentSettings"
-//------------------------------------------------------------------------
+
// helper to use cached document if not in use, temporary document otherwise
@@ -75,7 +75,7 @@ public:
ScDocument* GetDocument();
};
-//------------------------------------------------------------------------
+
ScDocument* ScTempDocSource::CreateDocument()
{
@@ -114,7 +114,7 @@ ScDocument* ScTempDocSource::GetDocument()
return rCache.GetDocument();
}
-//------------------------------------------------------------------------
+
ScTempDocCache::ScTempDocCache() :
pDoc( NULL ),
@@ -141,7 +141,7 @@ void ScTempDocCache::Clear()
pDoc = NULL;
}
-//------------------------------------------------------------------------
+
// copy results from one document into another
//! merge this with ScAreaLink::Refresh
@@ -183,7 +183,7 @@ static sal_Bool lcl_CopyData( ScDocument* pSrcDoc, const ScRange& rSrcRange,
return sal_True;
}
-//------------------------------------------------------------------------
+
ScFunctionAccess::ScFunctionAccess() :
pOptions( NULL ),
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 1eb1529ada05..02cd924ff3a3 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -49,7 +49,7 @@ using ::com::sun::star::lang::IllegalArgumentException;
using ::com::sun::star::uno::RuntimeException;
using ::std::vector;
-//------------------------------------------------------------------------
+
// fuer Sheet- und Area-Links benutzt:
static const SfxItemPropertyMapEntry* lcl_GetSheetLinkMap()
@@ -66,7 +66,7 @@ static const SfxItemPropertyMapEntry* lcl_GetSheetLinkMap()
return aSheetLinkMap_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScAreaLinkObj, "ScAreaLinkObj", "com.sun.star.sheet.CellAreaLink" )
SC_SIMPLE_SERVICE_INFO( ScAreaLinksObj, "ScAreaLinksObj", "com.sun.star.sheet.CellAreaLinks" )
@@ -75,7 +75,7 @@ SC_SIMPLE_SERVICE_INFO( ScDDELinksObj, "ScDDELinksObj", "com.sun.star.sheet.DDEL
SC_SIMPLE_SERVICE_INFO( ScSheetLinkObj, "ScSheetLinkObj", "com.sun.star.sheet.SheetLink" )
SC_SIMPLE_SERVICE_INFO( ScSheetLinksObj, "ScSheetLinksObj", "com.sun.star.sheet.SheetLinks" )
-//------------------------------------------------------------------------
+
ScSheetLinkObj::ScSheetLinkObj(ScDocShell* pDocSh, const OUString& rName) :
aPropSet( lcl_GetSheetLinkMap() ),
@@ -375,7 +375,7 @@ void ScSheetLinkObj::setRefreshDelay(sal_Int32 nRefreshDelay)
ModifyRefreshDelay_Impl( nRefreshDelay );
}
-//------------------------------------------------------------------------
+
ScSheetLinksObj::ScSheetLinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -581,7 +581,7 @@ uno::Sequence<OUString> SAL_CALL ScSheetLinksObj::getElementNames() throw(uno::R
return aSeq;
}
-//------------------------------------------------------------------------
+
static ScAreaLink* lcl_GetAreaLink( ScDocShell* pDocShell, size_t nPos )
{
@@ -921,7 +921,7 @@ void SAL_CALL ScAreaLinkObj::setDestArea( const table::CellRangeAddress& aDestAr
Modify_Impl( NULL, NULL, NULL, NULL, &aDestArea );
}
-//------------------------------------------------------------------------
+
ScAreaLinksObj::ScAreaLinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -1045,7 +1045,7 @@ sal_Bool SAL_CALL ScAreaLinksObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
ScDDELinkObj::ScDDELinkObj(ScDocShell* pDocSh, const OUString& rA,
const OUString& rT, const OUString& rI) :
@@ -1255,7 +1255,7 @@ void ScDDELinkObj::Refreshed_Impl()
aRefreshListeners[n]->refreshed( aEvent );
}
-//------------------------------------------------------------------------
+
ScDDELinksObj::ScDDELinksObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
diff --git a/sc/source/ui/unoobj/listenercalls.cxx b/sc/source/ui/unoobj/listenercalls.cxx
index 34dfdc7d108f..359307ad2139 100644
--- a/sc/source/ui/unoobj/listenercalls.cxx
+++ b/sc/source/ui/unoobj/listenercalls.cxx
@@ -23,7 +23,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
ScUnoListenerCalls::ScUnoListenerCalls()
{
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx
index ae5cc965be49..37131a51da25 100644
--- a/sc/source/ui/unoobj/miscuno.cxx
+++ b/sc/source/ui/unoobj/miscuno.cxx
@@ -26,11 +26,11 @@ using namespace com::sun::star;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Any;
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScNameToIndexAccess, "ScNameToIndexAccess", "stardiv.unknown" )
-//------------------------------------------------------------------------
+
uno::Reference<uno::XInterface> ScUnoHelpFunctions::AnyToInterface( const uno::Any& rAny )
{
@@ -185,7 +185,7 @@ void ScUnoHelpFunctions::SetOptionalPropertyValue(
}
}
-//------------------------------------------------------------------------
+
ScIndexEnumeration::ScIndexEnumeration(const uno::Reference<container::XIndexAccess>& rInd,
const OUString& rServiceName) :
@@ -245,9 +245,9 @@ sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const OUString& ServiceNa
return aRet;
}
-//------------------------------------------------------------------------
-//------------------------------------------------------------------------
+
+
ScNameToIndexAccess::ScNameToIndexAccess( const com::sun::star::uno::Reference<
com::sun::star::container::XNameAccess>& rNameObj ) :
@@ -297,7 +297,7 @@ sal_Bool SAL_CALL ScNameToIndexAccess::hasElements( ) throw(::com::sun::star::u
return getCount() > 0;
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 0454aed72fb5..645f98b8b49f 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -46,7 +46,7 @@ using ::com::sun::star::uno::Any;
#include "scui_def.hxx"
-//------------------------------------------------------------------------
+
static const SfxItemPropertyMapEntry* lcl_GetNamedRangeMap()
{
@@ -71,7 +71,7 @@ static const SfxItemPropertyMapEntry* lcl_GetNamedRangesMap()
return aNamedRangesMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCNAMEDRANGEOBJ_SERVICE "com.sun.star.sheet.NamedRange"
@@ -468,7 +468,7 @@ const uno::Sequence<sal_Int8>& ScNamedRangeObj::getUnoTunnelId()
return theScNamedRangeObjUnoTunnelId::get().getSeq();
}
-//------------------------------------------------------------------------
+
ScNamedRangesObj::ScNamedRangesObj(ScDocShell* pDocSh) :
mbModifyAndBroadcast(true),
@@ -823,7 +823,7 @@ sal_Int16 ScNamedRangesObj::resetActionLocks() throw(uno::RuntimeException)
return nLockCount;
}
-//------------------------------------------------------------------------
+
ScGlobalNamedRangesObj::ScGlobalNamedRangesObj(ScDocShell* pDocSh)
: ScNamedRangesObj(pDocSh)
@@ -876,7 +876,7 @@ SCTAB ScGlobalNamedRangesObj::GetTab_Impl()
return -1;
}
-//------------------------------------------------------------------------
+
ScLocalNamedRangesObj::ScLocalNamedRangesObj( ScDocShell* pDocSh, uno::Reference<container::XNamed> xSheet )
: ScNamedRangesObj(pDocSh),
@@ -939,7 +939,7 @@ SCTAB ScLocalNamedRangesObj::GetTab_Impl()
return nTab;
}
-//------------------------------------------------------------------------
+
ScLabelRangeObj::ScLabelRangeObj(ScDocShell* pDocSh, bool bCol, const ScRange& rR) :
pDocShell( pDocSh ),
@@ -1060,7 +1060,7 @@ void SAL_CALL ScLabelRangeObj::setDataArea( const table::CellRangeAddress& aData
Modify_Impl( NULL, &aDataRange );
}
-//------------------------------------------------------------------------
+
ScLabelRangesObj::ScLabelRangesObj(ScDocShell* pDocSh, bool bCol) :
pDocShell( pDocSh ),
@@ -1224,7 +1224,7 @@ sal_Bool SAL_CALL ScLabelRangesObj::hasElements() throw(uno::RuntimeException)
return ( getCount() != 0 );
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/notesuno.cxx b/sc/source/ui/unoobj/notesuno.cxx
index 1ef66163a81c..6f2b6de75975 100644
--- a/sc/source/ui/unoobj/notesuno.cxx
+++ b/sc/source/ui/unoobj/notesuno.cxx
@@ -38,7 +38,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const SvxItemPropertySet* lcl_GetAnnotationPropertySet()
{
@@ -54,12 +54,12 @@ static const SvxItemPropertySet* lcl_GetAnnotationPropertySet()
return &aAnnotationPropertySet_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScAnnotationObj, "ScAnnotationObj", "com.sun.star.sheet.CellAnnotation" )
//SC_SIMPLE_SERVICE_INFO( ScAnnotationShapeObj, "ScAnnotationShapeObj", "com.sun.star.sheet.CellAnnotationShape" )
-//------------------------------------------------------------------------
+
ScAnnotationObj::ScAnnotationObj(ScDocShell* pDocSh, const ScAddress& rPos) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/optuno.cxx b/sc/source/ui/unoobj/optuno.cxx
index 68056df7d17d..5961baa70583 100644
--- a/sc/source/ui/unoobj/optuno.cxx
+++ b/sc/source/ui/unoobj/optuno.cxx
@@ -28,7 +28,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
const SfxItemPropertyMapEntry* ScDocOptionsHelper::GetPropertyMap()
{
static const SfxItemPropertyMapEntry aMap[] =
@@ -179,7 +179,7 @@ uno::Any ScDocOptionsHelper::getPropertyValue(
return aRet;
}
-//------------------------------------------------------------------------
+
ScDocOptionsObj::ScDocOptionsObj( const ScDocOptions& rOpt ) :
ScModelObj( NULL ),
diff --git a/sc/source/ui/unoobj/pageuno.cxx b/sc/source/ui/unoobj/pageuno.cxx
index 1b16b550646e..5c21fb42ec6e 100644
--- a/sc/source/ui/unoobj/pageuno.cxx
+++ b/sc/source/ui/unoobj/pageuno.cxx
@@ -24,7 +24,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
ScPageObj::ScPageObj( SdrPage* pPage ) :
SvxFmDrawPage( pPage )
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index 9ca7b2f82e37..eca963eac7f3 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -245,7 +245,7 @@ public:
}
};
-//------------------------------------------------------------------------
+
//
struct ProvNamesId_Type
{
@@ -377,7 +377,7 @@ static const sal_Char* aOldNames[SC_SERVICE_COUNT] =
-//------------------------------------------------------------------------
+
// alles static
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index cf1de02f53d0..8da14f7914f2 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -48,7 +48,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
typedef std::map<OUString, uno::Sequence< sal_Int8 > *> ScShapeImplementationIdMap;
@@ -88,7 +88,7 @@ ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( ScShapeObj* pShape, sal_Bool bCr
return 0;
}
-//------------------------------------------------------------------------
+
namespace
{
@@ -99,7 +99,7 @@ namespace
}
}
-//------------------------------------------------------------------------
+
ScShapeObj::ScShapeObj( uno::Reference<drawing::XShape>& xShape ) :
pShapePropertySet(NULL),
diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx
index d5e11823c7a7..efe360964627 100644
--- a/sc/source/ui/unoobj/srchuno.cxx
+++ b/sc/source/ui/unoobj/srchuno.cxx
@@ -34,7 +34,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
//! SearchWords sucht in ganzen Zellen - umbenennen ???
@@ -61,12 +61,12 @@ static const SfxItemPropertyMapEntry* lcl_GetSearchPropertyMap()
return aSearchPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCSEARCHDESCRIPTOR_SERVICE "com.sun.star.util.SearchDescriptor"
#define SCREPLACEDESCRIPTOR_SERVICE "com.sun.star.util.ReplaceDescriptor"
-//------------------------------------------------------------------------
+
ScCellSearchObj::ScCellSearchObj() :
aPropSet(lcl_GetSearchPropertyMap())
@@ -248,7 +248,7 @@ ScCellSearchObj* ScCellSearchObj::getImplementation(
}
-//------------------------------------------------------------------------
+
diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx
index c6404248073e..5d981ab43208 100644
--- a/sc/source/ui/unoobj/styleuno.cxx
+++ b/sc/source/ui/unoobj/styleuno.cxx
@@ -68,7 +68,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
static const SfxItemPropertySet* lcl_GetCellStyleSet()
{
@@ -368,7 +368,7 @@ static const SfxItemPropertyMap* lcl_GetFooterStyleMap()
}
-//------------------------------------------------------------------------
+
// Index-Access auf die Style-Typen: 0 = Cell, 1 = Page
@@ -379,12 +379,12 @@ static const SfxItemPropertyMap* lcl_GetFooterStyleMap()
static const sal_uInt16 aStyleFamilyTypes[SC_STYLE_FAMILY_COUNT] = { SFX_STYLE_FAMILY_PARA, SFX_STYLE_FAMILY_PAGE };
-//------------------------------------------------------------------------
+
using sc::HMMToTwips;
using sc::TwipsToHMM;
-//------------------------------------------------------------------------
+
#define SCSTYLE_SERVICE "com.sun.star.style.Style"
#define SCCELLSTYLE_SERVICE "com.sun.star.style.CellStyle"
@@ -393,11 +393,11 @@ using sc::TwipsToHMM;
SC_SIMPLE_SERVICE_INFO( ScStyleFamiliesObj, "ScStyleFamiliesObj", "com.sun.star.style.StyleFamilies" )
SC_SIMPLE_SERVICE_INFO( ScStyleFamilyObj, "ScStyleFamilyObj", "com.sun.star.style.StyleFamily" )
-//------------------------------------------------------------------------
+
#define SC_PAPERBIN_DEFAULTNAME "[From printer settings]"
-//------------------------------------------------------------------------
+
static bool lcl_AnyTabProtected( ScDocument& rDoc )
{
@@ -408,7 +408,7 @@ static bool lcl_AnyTabProtected( ScDocument& rDoc )
return false;
}
-//------------------------------------------------------------------------
+
ScStyleFamiliesObj::ScStyleFamiliesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -598,7 +598,7 @@ uno::Sequence<beans::PropertyValue> SAL_CALL ScStyleFamiliesObj::getStyleLoaderO
return aSequence;
}
-//------------------------------------------------------------------------
+
ScStyleFamilyObj::ScStyleFamilyObj(ScDocShell* pDocSh, SfxStyleFamily eFam) :
pDocShell( pDocSh ),
@@ -939,7 +939,7 @@ void SAL_CALL ScStyleFamilyObj::removeVetoableChangeListener( const OUString&, c
OSL_FAIL( "###unexpected!" );
}
-//------------------------------------------------------------------------
+
// Default-ctor wird fuer die Reflection gebraucht
@@ -2012,7 +2012,7 @@ uno::Sequence<OUString> SAL_CALL ScStyleObj::getSupportedServiceNames()
return aRet;
}
-//------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/unoobj/targuno.cxx b/sc/source/ui/unoobj/targuno.cxx
index 535a51f9ccb4..317672dd9127 100644
--- a/sc/source/ui/unoobj/targuno.cxx
+++ b/sc/source/ui/unoobj/targuno.cxx
@@ -39,7 +39,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------------------------
+
sal_uInt16 nTypeResIds[SC_LINKTARGETTYPE_COUNT] =
{
@@ -59,7 +59,7 @@ static const SfxItemPropertyMapEntry* lcl_GetLinkTargetMap()
return aLinkTargetMap_Impl;
}
-//------------------------------------------------------------------------
+
// service for ScLinkTargetTypeObj is not defined
// must not support document::LinkTarget because the target type cannot be used as a target
@@ -68,7 +68,7 @@ SC_SIMPLE_SERVICE_INFO( ScLinkTargetTypesObj, "ScLinkTargetTypesObj", "com.sun.s
SC_SIMPLE_SERVICE_INFO( ScLinkTargetTypeObj, "ScLinkTargetTypeObj", "com.sun.star.document.LinkTargetSupplier" )
SC_SIMPLE_SERVICE_INFO( ScLinkTargetsObj, "ScLinkTargetsObj", "com.sun.star.document.LinkTargets" )
-//------------------------------------------------------------------------
+
ScLinkTargetTypesObj::ScLinkTargetTypesObj(ScDocShell* pDocSh) :
pDocShell( pDocSh )
@@ -137,7 +137,7 @@ sal_Bool SAL_CALL ScLinkTargetTypesObj::hasElements(void) throw( uno::RuntimeExc
return sal_True;
}
-//------------------------------------------------------------------------
+
ScLinkTargetTypeObj::ScLinkTargetTypeObj(ScDocShell* pDocSh, sal_uInt16 nT) :
pDocShell( pDocSh ),
@@ -249,7 +249,7 @@ uno::Any SAL_CALL ScLinkTargetTypeObj::getPropertyValue(const OUString& Property
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScLinkTargetTypeObj )
-//------------------------------------------------------------------------
+
ScLinkTargetsObj::ScLinkTargetsObj( const uno::Reference< container::XNameAccess > & rColl ) :
xCollection( rColl )
diff --git a/sc/source/ui/unoobj/textuno.cxx b/sc/source/ui/unoobj/textuno.cxx
index 3ea1258d396f..380809a2898d 100644
--- a/sc/source/ui/unoobj/textuno.cxx
+++ b/sc/source/ui/unoobj/textuno.cxx
@@ -49,7 +49,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
static const SvxItemPropertySet * lcl_GetHdFtPropertySet()
{
@@ -87,12 +87,12 @@ static const SvxItemPropertySet * lcl_GetHdFtPropertySet()
return &aHdFtPropertySet_Impl;
}
-//------------------------------------------------------------------------
+
SC_SIMPLE_SERVICE_INFO( ScHeaderFooterContentObj, "ScHeaderFooterContentObj", "com.sun.star.sheet.HeaderFooterContent" )
SC_SIMPLE_SERVICE_INFO( ScHeaderFooterTextObj, "ScHeaderFooterTextObj", "stardiv.one.Text.Text" )
-//------------------------------------------------------------------------
+
ScHeaderFooterContentObj::ScHeaderFooterContentObj( const EditTextObject* pLeft,
const EditTextObject* pCenter,
@@ -181,7 +181,7 @@ ScHeaderFooterContentObj* ScHeaderFooterContentObj::getImplementation(
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextData::ScHeaderFooterTextData(
ScHeaderFooterContentObj& rContent, sal_uInt16 nP, const EditTextObject* pTextObj) :
@@ -266,7 +266,7 @@ const EditTextObject* ScHeaderFooterTextData::GetTextObject() const
return mpTextObj;
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextObj::ScHeaderFooterTextObj(
ScHeaderFooterContentObj& rContent, sal_uInt16 nP, const EditTextObject* pTextObj) :
@@ -578,7 +578,7 @@ sal_Bool SAL_CALL ScHeaderFooterTextObj::hasElements() throw(uno::RuntimeExcepti
return mxUnoText->hasElements();
}
-//------------------------------------------------------------------------
+
ScCellTextCursor::ScCellTextCursor(const ScCellTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -674,7 +674,7 @@ ScCellTextCursor* ScCellTextCursor::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
ScHeaderFooterTextCursor::ScHeaderFooterTextCursor(const ScHeaderFooterTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -771,7 +771,7 @@ ScHeaderFooterTextCursor* ScHeaderFooterTextCursor::getImplementation(
return pRet;
}
-//------------------------------------------------------------------------
+
ScDrawTextCursor::ScDrawTextCursor(const ScDrawTextCursor& rOther) :
SvxUnoTextCursor( rOther ),
@@ -866,7 +866,7 @@ ScDrawTextCursor* ScDrawTextCursor::getImplementation( const uno::Reference<uno:
return pRet;
}
-//------------------------------------------------------------------------
+
ScSimpleEditSourceHelper::ScSimpleEditSourceHelper()
{
@@ -911,7 +911,7 @@ EditTextObject* ScEditEngineTextObj::CreateTextObject()
return GetEditEngine()->CreateTextObject();
}
-//------------------------------------------------------------------------
+
ScCellTextData::ScCellTextData(ScDocShell* pDocSh, const ScAddress& rP) :
pDocShell( pDocSh ),
diff --git a/sc/source/ui/unoobj/unoreflist.cxx b/sc/source/ui/unoobj/unoreflist.cxx
index 139fb4e57fc8..aa78b4124473 100644
--- a/sc/source/ui/unoobj/unoreflist.cxx
+++ b/sc/source/ui/unoobj/unoreflist.cxx
@@ -20,7 +20,7 @@
#include "unoreflist.hxx"
#include "document.hxx"
-//------------------------------------------------------------------------
+
ScUnoRefList::ScUnoRefList()
{
@@ -46,7 +46,7 @@ void ScUnoRefList::Undo( ScDocument* pDoc )
}
}
-//------------------------------------------------------------------------
+
TYPEINIT1(ScUnoRefUndoHint, SfxHint);
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index f54eba652565..86f4dd6ce43c 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -74,7 +74,7 @@
using namespace com::sun::star;
-//------------------------------------------------------------------------
+
//! Clipping-Markierungen
@@ -117,14 +117,14 @@ static const SfxItemPropertyMapEntry* lcl_GetViewOptPropertyMap()
return aViewOptPropertyMap_Impl;
}
-//------------------------------------------------------------------------
+
#define SCTABVIEWOBJ_SERVICE "com.sun.star.sheet.SpreadsheetView"
#define SCVIEWSETTINGS_SERVICE "com.sun.star.sheet.SpreadsheetViewSettings"
SC_SIMPLE_SERVICE_INFO( ScViewPaneBase, "ScViewPaneObj", "com.sun.star.sheet.SpreadsheetViewPane" )
-//------------------------------------------------------------------------
+
ScViewPaneBase::ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP) :
pViewShell( pViewSh ),
@@ -424,7 +424,7 @@ awt::Rectangle ScViewPaneBase::GetVisArea() const
return aVisArea;
}
-//------------------------------------------------------------------------
+
ScViewPaneObj::ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP) :
ScViewPaneBase( pViewSh, nP )
@@ -456,7 +456,7 @@ void SAL_CALL ScViewPaneObj::release() throw()
OWeakObject::release();
}
-//------------------------------------------------------------------------
+
// Default-ctor wird fuer SMART_REFLECTION_IMPLEMENTATION gebraucht