summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/attarray.cxx2
-rw-r--r--sc/source/core/data/bcaslot.cxx2
-rw-r--r--sc/source/core/data/dociter.cxx2
-rw-r--r--sc/source/core/data/docpool.cxx2
-rw-r--r--sc/source/core/data/documen2.cxx2
-rw-r--r--sc/source/core/data/documen7.cxx2
-rw-r--r--sc/source/core/data/documen8.cxx2
-rw-r--r--sc/source/core/data/drawpage.cxx2
-rw-r--r--sc/source/core/data/drwlayer.cxx2
-rw-r--r--sc/source/core/data/markarr.cxx2
-rw-r--r--sc/source/core/data/markdata.cxx2
-rw-r--r--sc/source/core/data/patattr.cxx2
-rw-r--r--sc/source/core/data/table3.cxx4
-rw-r--r--sc/source/core/data/table4.cxx2
-rw-r--r--sc/source/core/data/table5.cxx2
-rw-r--r--sc/source/core/tool/cellform.cxx1
-rw-r--r--sc/source/core/tool/consoli.cxx1
-rw-r--r--sc/source/core/tool/editutil.cxx1
-rw-r--r--sc/source/core/tool/interpr3.cxx1
-rw-r--r--sc/source/core/tool/prnsave.cxx2
-rw-r--r--sc/source/core/tool/rechead.cxx2
-rw-r--r--sc/source/core/tool/reffind.cxx1
22 files changed, 0 insertions, 41 deletions
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx
index 8d91cc7c99a3..12cb38626eb3 100644
--- a/sc/source/core/data/attarray.cxx
+++ b/sc/source/core/data/attarray.cxx
@@ -47,8 +47,6 @@
#include <rtl/strbuf.hxx>
#include <memory>
-// STATIC DATA -----------------------------------------------------------
-
using ::editeng::SvxBorderLine;
ScAttrArray::ScAttrArray( SCCOL nNewCol, SCTAB nNewTab, ScDocument* pDoc ) :
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index feee464648b9..b5eb08902b80 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -62,8 +62,6 @@
#error BCA_SLOTS_DEFINE DOOMed!
#endif
-// STATIC DATA -----------------------------------------------------------
-
namespace sc {
bool AreaListener::SortByArea::operator ()( const AreaListener& rLeft, const AreaListener& rRight ) const
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index 77ac93a5f198..8b79337ba6b5 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -54,8 +54,6 @@ using ::std::set;
// #define debugiter(...) fprintf(stderr, __VA_ARGS__)
#define debugiter(...)
-// STATIC DATA -----------------------------------------------------------
-
namespace {
template<typename _Iter>
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 4d5ecc107655..f8839b9a72fc 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -72,8 +72,6 @@
#define SC_MAX_POOLREF (SFX_ITEMS_OLD_MAXREF - 39)
#define SC_SAFE_POOLREF (SC_MAX_POOLREF + 20)
-// STATIC DATA -----------------------------------------------------------
-
sal_uInt16* ScDocumentPool::pVersionMap1 = nullptr;
sal_uInt16* ScDocumentPool::pVersionMap2 = nullptr;
sal_uInt16* ScDocumentPool::pVersionMap3 = nullptr;
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index d27a5e6d63c3..8b114695e242 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -127,8 +127,6 @@ private:
}
};
-// STATIC DATA -----------------------------------------------------------
-
ScDocument::ScDocument( ScDocumentMode eMode, SfxObjectShell* pDocShell ) :
mpCellStringPool(new svl::SharedStringPool(ScGlobal::pCharClass)),
mpFormulaGroupCxt(nullptr),
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index cfa3d2ffb087..71a3c133e078 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -43,8 +43,6 @@
extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkAround
-// STATIC DATA -----------------------------------------------------------
-
void ScDocument::StartListeningArea(
const ScRange& rRange, bool bGroupListening, SvtListener* pListener )
{
diff --git a/sc/source/core/data/documen8.cxx b/sc/source/core/data/documen8.cxx
index 4ff5fc61d548..15fbb88c2e64 100644
--- a/sc/source/core/data/documen8.cxx
+++ b/sc/source/core/data/documen8.cxx
@@ -93,8 +93,6 @@
using namespace com::sun::star;
-// STATIC DATA -----------------------------------------------------------
-
namespace {
inline sal_uInt16 getScaleValue(SfxStyleSheetBase& rStyle, sal_uInt16 nWhich)
diff --git a/sc/source/core/data/drawpage.cxx b/sc/source/core/data/drawpage.cxx
index 488775913e81..e8e6134bb8b0 100644
--- a/sc/source/core/data/drawpage.cxx
+++ b/sc/source/core/data/drawpage.cxx
@@ -24,8 +24,6 @@
#include "document.hxx"
#include "pageuno.hxx"
-// STATIC DATA -----------------------------------------------------------
-
ScDrawPage::ScDrawPage(ScDrawLayer& rNewModel, bool bMasterPage) :
FmFormPage(rNewModel, bMasterPage)
{
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index dbf1fe7285f1..1fa2e6c49405 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -84,8 +84,6 @@
using namespace ::com::sun::star;
-// STATIC DATA -----------------------------------------------------------
-
static ScDrawObjFactory* pFac = nullptr;
static E3dObjFactory* pF3d = nullptr;
static sal_uInt16 nInst = 0;
diff --git a/sc/source/core/data/markarr.cxx b/sc/source/core/data/markarr.cxx
index f21ce8d0b8e4..a71e127b9e8a 100644
--- a/sc/source/core/data/markarr.cxx
+++ b/sc/source/core/data/markarr.cxx
@@ -23,8 +23,6 @@
#include <osl/diagnose.h>
-// STATIC DATA -----------------------------------------------------------
-
ScMarkArray::ScMarkArray() :
nCount( 0 ),
nLimit( 0 ),
diff --git a/sc/source/core/data/markdata.cxx b/sc/source/core/data/markdata.cxx
index b8eaac78d4c0..2eeae00182d8 100644
--- a/sc/source/core/data/markdata.cxx
+++ b/sc/source/core/data/markdata.cxx
@@ -29,8 +29,6 @@
#include <mdds/flat_segment_tree.hpp>
-// STATIC DATA -----------------------------------------------------------
-
ScMarkData::ScMarkData() :
maTabMarked(),
pMultiSel( nullptr )
diff --git a/sc/source/core/data/patattr.cxx b/sc/source/core/data/patattr.cxx
index ea5328527f87..61ab5ca3424f 100644
--- a/sc/source/core/data/patattr.cxx
+++ b/sc/source/core/data/patattr.cxx
@@ -62,8 +62,6 @@
#include "scmod.hxx"
#include "fillinfo.hxx"
-// STATIC DATA -----------------------------------------------------------
-
using sc::HMMToTwips;
using sc::TwipsToHMM;
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index ee760802ac38..83e8bdf4820f 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -211,8 +211,6 @@ short Compare( const OUString &sInput1, const OUString &sInput2,
}
-// STATIC DATA -----------------------------------------------------------
-
struct ScSortInfo
{
ScRefCellValue maCell;
@@ -221,8 +219,6 @@ struct ScSortInfo
};
IMPL_FIXEDMEMPOOL_NEWDEL( ScSortInfo )
-// END OF STATIC DATA -----------------------------------------------------
-
class ScSortInfoArray : boost::noncopyable
{
public:
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index 532d47c0097b..7b682cd55005 100644
--- a/sc/source/core/data/table4.cxx
+++ b/sc/source/core/data/table4.cxx
@@ -66,8 +66,6 @@
#include <math.h>
#include <memory>
-// STATIC DATA -----------------------------------------------------------
-
#define _D_MAX_LONG_ (double) 0x7fffffff
extern sal_uInt16 nScFillModeMouseModifier; // global.cxx
diff --git a/sc/source/core/data/table5.cxx b/sc/source/core/data/table5.cxx
index c277812bc274..cd846b6f7a3c 100644
--- a/sc/source/core/data/table5.cxx
+++ b/sc/source/core/data/table5.cxx
@@ -51,8 +51,6 @@ using ::com::sun::star::uno::Sequence;
using ::com::sun::star::sheet::TablePageBreakData;
using ::std::set;
-// STATIC DATA -----------------------------------------------------------
-
#define GET_SCALEVALUE(set,id) static_cast<const SfxUInt16Item&>(set.Get( id )).GetValue()
void ScTable::UpdatePageBreaks( const ScRange* pUserArea )
diff --git a/sc/source/core/tool/cellform.cxx b/sc/source/core/tool/cellform.cxx
index 6d8015ba1f93..65eba23fa980 100644
--- a/sc/source/core/tool/cellform.cxx
+++ b/sc/source/core/tool/cellform.cxx
@@ -31,7 +31,6 @@
#include "sc.hrc"
#include <editutil.hxx>
-// STATIC DATA
// Err527 Workaround
const ScFormulaCell* pLastFormulaTreeTop = nullptr;
diff --git a/sc/source/core/tool/consoli.cxx b/sc/source/core/tool/consoli.cxx
index 267e2f6e1c0b..dd0f1019c08e 100644
--- a/sc/source/core/tool/consoli.cxx
+++ b/sc/source/core/tool/consoli.cxx
@@ -33,7 +33,6 @@
#define SC_CONS_NOTFOUND -1
-// STATIC DATA
static const OpCode eOpCodeTable[] = { // order as for enum ScSubTotalFunc
ocBad, // none
ocAverage,
diff --git a/sc/source/core/tool/editutil.cxx b/sc/source/core/tool/editutil.cxx
index e370e4a2843d..6c30a395ee56 100644
--- a/sc/source/core/tool/editutil.cxx
+++ b/sc/source/core/tool/editutil.cxx
@@ -50,7 +50,6 @@
using namespace com::sun::star;
-// STATIC DATA
// Delimiters zusaetzlich zu EditEngine-Default:
ScEditUtil::ScEditUtil( ScDocument* pDocument, SCCOL nX, SCROW nY, SCTAB nZ,
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index e0ecf96568d2..d11d99c2829d 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -40,7 +40,6 @@
using ::std::vector;
using namespace formula;
-// STATIC DATA
#define MAX_ANZ_DOUBLE_FOR_SORT 100000
const double ScInterpreter::fMaxGammaArgument = 171.624376956302; // found experimental
diff --git a/sc/source/core/tool/prnsave.cxx b/sc/source/core/tool/prnsave.cxx
index 478f37eae76e..911b411846a7 100644
--- a/sc/source/core/tool/prnsave.cxx
+++ b/sc/source/core/tool/prnsave.cxx
@@ -23,8 +23,6 @@
#include <osl/diagnose.h>
-// STATIC DATA
-
// Daten pro Tabelle
ScPrintSaverTab::ScPrintSaverTab() :
diff --git a/sc/source/core/tool/rechead.cxx b/sc/source/core/tool/rechead.cxx
index 965413106f82..4736e5db05ae 100644
--- a/sc/source/core/tool/rechead.cxx
+++ b/sc/source/core/tool/rechead.cxx
@@ -22,8 +22,6 @@
#include <osl/diagnose.h>
-// STATIC DATA
-
ScMultipleReadHeader::ScMultipleReadHeader(SvStream& rNewStream) :
rStream( rNewStream )
{
diff --git a/sc/source/core/tool/reffind.cxx b/sc/source/core/tool/reffind.cxx
index 94db172b2447..6c99d837cf3c 100644
--- a/sc/source/core/tool/reffind.cxx
+++ b/sc/source/core/tool/reffind.cxx
@@ -22,7 +22,6 @@
#include "compiler.hxx"
#include "document.hxx"
-// STATIC DATA
namespace {
// Include colon; addresses in range reference are handled individually.