diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-12-14 21:50:13 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-12-15 08:31:55 +0200 |
commit | 0585d81a76a99de5fb3ed2e8c34a3fc44cd83b46 (patch) | |
tree | fdb1e9cabf0f3490c9a6c00c21ee9b2b4d1c9924 /sc | |
parent | 1c9de0488f11d6f9dc1cd08044ccbfc3e27a63ff (diff) |
Bin silly 'STATIC DATA' comments
Change-Id: I50e3772b7b479d2cf1eb644c7334d0f987874ccb
Diffstat (limited to 'sc')
54 files changed, 0 insertions, 110 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. diff --git a/sc/source/filter/starcalc/scfobj.cxx b/sc/source/filter/starcalc/scfobj.cxx index 6216c845601b..38f6a3054bd6 100644 --- a/sc/source/filter/starcalc/scfobj.cxx +++ b/sc/source/filter/starcalc/scfobj.cxx @@ -39,8 +39,6 @@ using namespace com::sun::star; #include "drwlayer.hxx" #include "chartarr.hxx" -// STATIC DATA ----------------------------------------------------------- - void Sc10InsertObject::InsertChart( ScDocument* pDoc, SCTAB nDestTab, const Rectangle& rRect, SCTAB nSrcTab, sal_uInt16 nX1, sal_uInt16 nY1, sal_uInt16 nX2, sal_uInt16 nY2 ) { diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx index 4138bad3b57b..643aa3da2cee 100644 --- a/sc/source/ui/app/inputhdl.cxx +++ b/sc/source/ui/app/inputhdl.cxx @@ -86,8 +86,6 @@ using namespace formula; -// STATIC DATA ----------------------------------------------------------- - bool ScInputHandler::bOptLoaded = false; // Evaluate App options bool ScInputHandler::bAutoComplete = false; // Is set in KeyInput diff --git a/sc/source/ui/app/rfindlst.cxx b/sc/source/ui/app/rfindlst.cxx index 59c63f59fe41..27d873a09f94 100644 --- a/sc/source/ui/app/rfindlst.cxx +++ b/sc/source/ui/app/rfindlst.cxx @@ -20,8 +20,6 @@ #include "rfindlst.hxx" #include <tools/debug.hxx> -// STATIC DATA ----------------------------------------------------------- - #define SC_RANGECOLORS 8 static const ColorData aColNames[SC_RANGECOLORS] = diff --git a/sc/source/ui/app/uiitems.cxx b/sc/source/ui/app/uiitems.cxx index 2e6cb51aa655..aa2ec2cddd3f 100644 --- a/sc/source/ui/app/uiitems.cxx +++ b/sc/source/ui/app/uiitems.cxx @@ -26,10 +26,6 @@ #include <osl/diagnose.h> #include <editeng/editobj.hxx> -// STATIC DATA ----------------------------------------------------------- - - - /** * Status update for entry field */ diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx index cd27c35386fe..d7c0899792b0 100644 --- a/sc/source/ui/attrdlg/tabpages.cxx +++ b/sc/source/ui/attrdlg/tabpages.cxx @@ -27,8 +27,6 @@ #include "tabpages.hxx" -// STATIC DATA ----------------------------------------------------------- - const sal_uInt16 ScTabPageProtection::pProtectionRanges[] = { SID_SCATTR_PROTECTION, diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 41d23f596824..adc7f2bf6f00 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -99,8 +99,6 @@ using namespace com::sun::star; using ::com::sun::star::uno::Sequence; using ::std::vector; -// STATIC DATA ----------------------------------------------------------- - IMPL_LINK_TYPED( ScDocFunc, NotifyDrawUndo, SdrUndoAction*, pUndoAction, void ) { // #i101118# if drawing layer collects the undo actions, add it there diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 562254d8bf19..2baa653df709 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -139,8 +139,6 @@ using ::com::sun::star::lang::XMultiServiceFactory; using std::shared_ptr; using ::std::vector; -// STATIC DATA ----------------------------------------------------------- - // Filter names (like in sclib.cxx) static const sal_Char pFilterSc50[] = "StarCalc 5.0"; diff --git a/sc/source/ui/docshell/docsh6.cxx b/sc/source/ui/docshell/docsh6.cxx index 1e05785e810d..8e459373cefa 100644 --- a/sc/source/ui/docshell/docsh6.cxx +++ b/sc/source/ui/docshell/docsh6.cxx @@ -64,8 +64,6 @@ struct ScStylePair } -// STATIC DATA ----------------------------------------------------------- - // Ole void ScDocShell::SetVisArea( const Rectangle & rVisArea ) diff --git a/sc/source/ui/navipi/navcitem.cxx b/sc/source/ui/navipi/navcitem.cxx index bfbf7fe90759..0eea0c2dc4d7 100644 --- a/sc/source/ui/navipi/navcitem.cxx +++ b/sc/source/ui/navipi/navcitem.cxx @@ -25,8 +25,6 @@ #include "navipi.hxx" #include "sc.hrc" -// STATIC DATA ----------------------------------------------------------- - ScNavigatorControllerItem::ScNavigatorControllerItem( sal_uInt16 nIdP, ScNavigatorDlg& rDlg, SfxBindings& rBindings ) diff --git a/sc/source/ui/optdlg/tpusrlst.cxx b/sc/source/ui/optdlg/tpusrlst.cxx index 9a4ff48aeea8..cc998cb08c56 100644 --- a/sc/source/ui/optdlg/tpusrlst.cxx +++ b/sc/source/ui/optdlg/tpusrlst.cxx @@ -35,8 +35,6 @@ #include "globstr.hrc" #include "tpusrlst.hxx" -// STATIC DATA ----------------------------------------------------------- - #define CR (sal_Unicode)13 #define LF (sal_Unicode)10 diff --git a/sc/source/ui/optdlg/tpview.cxx b/sc/source/ui/optdlg/tpview.cxx index 64550727f236..a3f0dcbdd73d 100644 --- a/sc/source/ui/optdlg/tpview.cxx +++ b/sc/source/ui/optdlg/tpview.cxx @@ -35,8 +35,6 @@ #include <svx/drawitem.hxx> #include <svx/xtable.hxx> -// STATIC DATA ----------------------------------------------------------- - ScTpContentOptions::ScTpContentOptions( vcl::Window* pParent, const SfxItemSet& rArgSet ) : SfxTabPage(pParent, "TpViewPage", "modules/scalc/ui/tpviewpage.ui", &rArgSet), diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx index 07e270c9b72f..5d9f76d2f7c5 100644 --- a/sc/source/ui/pagedlg/areasdlg.cxx +++ b/sc/source/ui/pagedlg/areasdlg.cxx @@ -37,8 +37,6 @@ #include "compiler.hxx" #include "markdata.hxx" -// STATIC DATA --------------------------------------------------------------- - // List box positions for print range (PR) enum { SC_AREASDLG_PR_ENTIRE = 1, diff --git a/sc/source/ui/pagedlg/scuitphfedit.cxx b/sc/source/ui/pagedlg/scuitphfedit.cxx index be28c1199bda..63a5d748a8ab 100644 --- a/sc/source/ui/pagedlg/scuitphfedit.cxx +++ b/sc/source/ui/pagedlg/scuitphfedit.cxx @@ -49,8 +49,6 @@ #include "scuitphfedit.hxx" #include <memory> -// STATIC DATA ----------------------------------------------------------- - // class ScHFEditPage ScHFEditPage::ScHFEditPage( vcl::Window* pParent, diff --git a/sc/source/ui/undo/target.cxx b/sc/source/ui/undo/target.cxx index dcf593d62162..e99abee7cb17 100644 --- a/sc/source/ui/undo/target.cxx +++ b/sc/source/ui/undo/target.cxx @@ -19,9 +19,6 @@ #include "target.hxx" -// STATIC DATA ----------------------------------------------------------- - - ScTabViewTarget::~ScTabViewTarget() { } diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 6bf50fc3a5b2..d70e518c8143 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -58,9 +58,6 @@ #include <memory> #include <set> -// STATIC DATA ----------------------------------------------------------- - - // TODO: /*A*/ // SetOptimalHeight on Document, if no View /*B*/ // linked sheets diff --git a/sc/source/ui/undo/undoblk3.cxx b/sc/source/ui/undo/undoblk3.cxx index aa04576f6b90..1888f0937202 100644 --- a/sc/source/ui/undo/undoblk3.cxx +++ b/sc/source/ui/undo/undoblk3.cxx @@ -58,9 +58,6 @@ #include "editdataarray.hxx" #include <rowheightcontext.hxx> -// STATIC DATA --------------------------------------------------------------- - - // TODO: /*A*/ // SetOptimalHeight on Document, when no View diff --git a/sc/source/ui/view/colrowba.cxx b/sc/source/ui/view/colrowba.cxx index d18e19fcd073..7b352aee44bd 100644 --- a/sc/source/ui/view/colrowba.cxx +++ b/sc/source/ui/view/colrowba.cxx @@ -31,8 +31,6 @@ #include "tabview.hxx" #include <columnspanset.hxx> -// STATIC DATA ----------------------------------------------------------- - static OUString lcl_MetricString( long nTwips, const OUString& rText ) { if ( nTwips <= 0 ) diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx index 02bc6c82e5bb..aadea8b5b31f 100644 --- a/sc/source/ui/view/dbfunc3.cxx +++ b/sc/source/ui/view/dbfunc3.cxx @@ -84,8 +84,6 @@ using ::com::sun::star::sheet::XDimensionsSupplier; using ::std::list; using ::std::vector; -// STATIC DATA ----------------------------------------------------------- - // outliner // create outline grouping diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx index 000d36480e79..b28a9a17b707 100644 --- a/sc/source/ui/view/drawvie4.cxx +++ b/sc/source/ui/view/drawvie4.cxx @@ -51,8 +51,6 @@ using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - Point aDragStartDiff; void ScDrawView::CheckOle( const SdrMarkList& rMarkList, bool& rAnyOle, bool& rOneOle ) diff --git a/sc/source/ui/view/gridwin2.cxx b/sc/source/ui/view/gridwin2.cxx index f0b07687998d..b249802186b7 100644 --- a/sc/source/ui/view/gridwin2.cxx +++ b/sc/source/ui/view/gridwin2.cxx @@ -55,8 +55,6 @@ using css::sheet::DataPilotFieldOrientation; using std::vector; using std::unique_ptr; -// STATIC DATA ----------------------------------------------------------- - DataPilotFieldOrientation ScGridWindow::GetDPFieldOrientation( SCCOL nCol, SCROW nRow ) const { ScDocument* pDoc = pViewData->GetDocument(); diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 718b3cc3b7ff..f7b9801b850c 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -81,8 +81,6 @@ using namespace com::sun::star; const sal_uInt16 SC_SHRINKAGAIN_MAX = 7; -// STATIC DATA ----------------------------------------------------------- - class ScDrawStringsVars { ScOutputData* pOutput; // connection diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx index a2cc775db2a7..b1c1b05e90af 100644 --- a/sc/source/ui/view/preview.cxx +++ b/sc/source/ui/view/preview.cxx @@ -66,8 +66,6 @@ #include <memory> -// STATIC DATA ----------------------------------------------------------- - #define SC_PREVIEW_SHADOWSIZE 2 static long lcl_GetDisplayStart( SCTAB nTab, ScDocument* pDoc, std::vector<long>& nPages ) diff --git a/sc/source/ui/view/prevwsh2.cxx b/sc/source/ui/view/prevwsh2.cxx index 4da0e2e6ee76..10edc68cbc07 100644 --- a/sc/source/ui/view/prevwsh2.cxx +++ b/sc/source/ui/view/prevwsh2.cxx @@ -26,8 +26,6 @@ #include "hints.hxx" #include "sc.hrc" -// STATIC DATA ----------------------------------------------------------- - void ScPreviewShell::Notify( SfxBroadcaster&, const SfxHint& rHint ) { bool bDataChanged = false; diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx index a9b4a20ff2b6..faebc8feb61d 100644 --- a/sc/source/ui/view/select.cxx +++ b/sc/source/ui/view/select.cxx @@ -40,8 +40,6 @@ extern sal_uInt16 nScFillModeMouseModifier; // global.cxx using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - static Point aSwitchPos; //! Member static bool bDidSwitch = false; diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index a2f5d101a14d..70fecfa92c0c 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -35,8 +35,6 @@ #include "markdata.hxx" #include <gridwin.hxx> -// STATIC DATA ----------------------------------------------------------- - ScTabControl::ScTabControl( vcl::Window* pParent, ScViewData* pData ) : TabBar(pParent, WB_3DLOOK | WB_MINSCROLL | WB_SCROLL | WB_RANGESELECT | WB_MULTISELECT | WB_DRAG) , DropTargetHelper(this) diff --git a/sc/source/ui/view/tabview4.cxx b/sc/source/ui/view/tabview4.cxx index 1067f7f9354c..baa16c1a434a 100644 --- a/sc/source/ui/view/tabview4.cxx +++ b/sc/source/ui/view/tabview4.cxx @@ -31,8 +31,6 @@ extern sal_uInt16 nScFillModeMouseModifier; // global.cxx -// STATIC DATA ----------------------------------------------------------- - // --- Referenz-Eingabe / Fill-Cursor void ScTabView::HideTip() diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx index fb962552e049..d48fde82131d 100644 --- a/sc/source/ui/view/tabview5.cxx +++ b/sc/source/ui/view/tabview5.cxx @@ -58,8 +58,6 @@ using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - void ScTabView::Init() { /* RTL layout of the view windows is done manually, because it depends on diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx index 223e6062cd6a..2864c7bf921d 100644 --- a/sc/source/ui/view/tabvwshb.cxx +++ b/sc/source/ui/view/tabvwshb.cxx @@ -65,8 +65,6 @@ using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - void ScTabViewShell::ConnectObject( SdrOle2Obj* pObj ) { // is called from paint diff --git a/sc/source/ui/view/tabvwshd.cxx b/sc/source/ui/view/tabvwshd.cxx index 1602ef583c4a..663c5a185103 100644 --- a/sc/source/ui/view/tabvwshd.cxx +++ b/sc/source/ui/view/tabvwshd.cxx @@ -30,8 +30,6 @@ #include "sc.hrc" #include <gridwin.hxx> -// STATIC DATA ----------------------------------------------------------- - //! parent window for dialogs //! Problem: OLE Server! diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index 843d4ce71c5e..5b5637c320ea 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -97,8 +97,6 @@ using ::editeng::SvxBorderLine; using ::std::vector; using ::std::unique_ptr; -// STATIC DATA --------------------------------------------------------------- - bool ScViewFunc::AdjustBlockHeight( bool bPaint, ScMarkData* pMarkData ) { ScDocShell* pDocSh = GetViewData().GetDocShell(); diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index 027f4f86ae40..1e6a21622863 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -71,8 +71,6 @@ using namespace com::sun::star; -// STATIC DATA --------------------------------------------------------------- - // GlobalName of writer-DocShell from comphelper/classids.hxx // C U T diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index 199813fe1d49..c2f08be42f63 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -72,8 +72,6 @@ using namespace com::sun::star; -// STATIC DATA ----------------------------------------------------------- - bool bPasteIsDrop = false; void ScViewFunc::PasteRTF( SCCOL nStartCol, SCROW nStartRow, |