diff options
Diffstat (limited to 'sc/source/core')
27 files changed, 9 insertions, 70 deletions
diff --git a/sc/source/core/data/dbdocutl.cxx b/sc/source/core/data/dbdocutl.cxx index 2bd9b6755776..7e0f8b7ebb82 100644 --- a/sc/source/core/data/dbdocutl.cxx +++ b/sc/source/core/data/dbdocutl.cxx @@ -56,7 +56,6 @@ ScDatabaseDocUtil::StrData::StrData() : // ---------------------------------------------------------------------------- -// static void ScDatabaseDocUtil::PutData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab, const uno::Reference<sdbc::XRow>& xRow, long nRowPos, long nType, BOOL bCurrency, StrData* pStrData ) diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index 3ef2101755db..9e862ffe6d17 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -630,7 +630,7 @@ void ScDocumentPool::Remove( const SfxPoolItem& rItem ) SfxItemPool::Remove( rItem ); } -void ScDocumentPool::CheckRef( const SfxPoolItem& rItem ) // static +void ScDocumentPool::CheckRef( const SfxPoolItem& rItem ) { ULONG nRef = rItem.GetRefCount(); if ( nRef >= (ULONG) SC_MAX_POOLREF && nRef <= (ULONG) SFX_ITEMS_OLD_MAXREF ) diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 83a1f9a2bf3e..96c9544ff8ba 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -1219,7 +1219,6 @@ void ScDocument::DisposeFieldEditEngine(ScFieldEditEngine*& rpEditEngine) // ---------------------------------------------------------------------------- -// static ScRecursionHelper* ScDocument::CreateRecursionHelperInstance() { return new ScRecursionHelper; diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index ca3d5c56c4dd..d6a5350be18e 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -1002,7 +1002,6 @@ void ScDocument::GetAutoFormatData(SCTAB nTab, SCCOL nStartCol, SCROW nStartRow, } } -// static void ScDocument::GetSearchAndReplaceStart( const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow ) { diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 2c07c3aec250..942836760f65 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -2134,7 +2134,6 @@ bool hasFieldColumn(const vector<PivotField>* pRefFields, SCCOL nCol) } -// static void ScDPObject::ConvertOrientation( ScDPSaveData& rSaveData, const vector<PivotField>& rFields, USHORT nOrient, const Reference<XDimensionsSupplier>& xSource, @@ -2240,7 +2239,6 @@ void ScDPObject::ConvertOrientation( } } -// static bool ScDPObject::IsOrientationAllowed( USHORT nOrient, sal_Int32 nDimFlags ) { bool bAllowed = true; @@ -2268,7 +2266,6 @@ bool ScDPObject::IsOrientationAllowed( USHORT nOrient, sal_Int32 nDimFlags ) // ----------------------------------------------------------------------- -// static BOOL ScDPObject::HasRegisteredSources() { BOOL bFound = FALSE; @@ -2286,7 +2283,6 @@ BOOL ScDPObject::HasRegisteredSources() return bFound; } -// static uno::Sequence<rtl::OUString> ScDPObject::GetRegisteredSources() { uno::Sequence<rtl::OUString> aSeq(0); @@ -2332,7 +2328,6 @@ uno::Sequence<rtl::OUString> ScDPObject::GetRegisteredSources() // use getContext from addincol.cxx uno::Reference<uno::XComponentContext> getContext(uno::Reference<lang::XMultiServiceFactory> xMSF); -// static uno::Reference<sheet::XDimensionsSupplier> ScDPObject::CreateSource( const ScDPServiceDesc& rDesc ) { rtl::OUString aImplName = rDesc.aServiceName; diff --git a/sc/source/core/data/dpoutput.cxx b/sc/source/core/data/dpoutput.cxx index 99f31fd3610e..cb9a918098f7 100644 --- a/sc/source/core/data/dpoutput.cxx +++ b/sc/source/core/data/dpoutput.cxx @@ -1637,7 +1637,6 @@ String lcl_GetDataFieldName( const String& rSourceName, sheet::GeneralFunction e return aRet; } -// static void ScDPOutput::GetDataDimensionNames( String& rSourceName, String& rGivenName, const uno::Reference<uno::XInterface>& xDim ) { diff --git a/sc/source/core/data/dptabres.cxx b/sc/source/core/data/dptabres.cxx index d8b48e9591ff..c3cafc868430 100644 --- a/sc/source/core/data/dptabres.cxx +++ b/sc/source/core/data/dptabres.cxx @@ -3315,7 +3315,6 @@ ScDPDataMember* ScDPResultDimension::GetRowReferenceMember( const ScDPRelativePo return pColMember; } -// static ScDPDataMember* ScDPResultDimension::GetColReferenceMember( const ScDPRelativePos* pRelativePos, const String* pName, long nRefDimPos, const ScDPRunningTotalState& rRunning ) { diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx index 8ac38656f246..f8e0f69c56c4 100644 --- a/sc/source/core/data/drwlayer.cxx +++ b/sc/source/core/data/drwlayer.cxx @@ -1649,7 +1649,6 @@ void ScDrawLayer::MirrorRTL( SdrObject* pObj ) } } -// static void ScDrawLayer::MirrorRectRTL( Rectangle& rRect ) { // mirror and swap left/right @@ -1699,7 +1698,6 @@ Rectangle ScDrawLayer::GetCellRect( ScDocument& rDoc, const ScAddress& rPos, boo return aCellRect; } -// static String ScDrawLayer::GetVisibleName( SdrObject* pObj ) { String aName = pObj->GetName(); @@ -1826,7 +1824,7 @@ ScAnchorType ScDrawLayer::GetAnchor( const SdrObject* pObj ) return ( aAnchor.Y() != 0 ) ? SCA_PAGE : SCA_CELL; } -ScDrawObjData* ScDrawLayer::GetObjData( SdrObject* pObj, BOOL bCreate ) // static +ScDrawObjData* ScDrawLayer::GetObjData( SdrObject* pObj, BOOL bCreate ) { USHORT nCount = pObj ? pObj->GetUserDataCount() : 0; for( USHORT i = 0; i < nCount; i++ ) @@ -1845,7 +1843,7 @@ ScDrawObjData* ScDrawLayer::GetObjData( SdrObject* pObj, BOOL bCreate ) // s return 0; } -ScDrawObjData* ScDrawLayer::GetObjDataTab( SdrObject* pObj, SCTAB nTab ) // static +ScDrawObjData* ScDrawLayer::GetObjDataTab( SdrObject* pObj, SCTAB nTab ) { ScDrawObjData* pData = GetObjData( pObj ); if ( pData ) @@ -1870,7 +1868,7 @@ ScDrawObjData* ScDrawLayer::GetNoteCaptionData( SdrObject* pObj, SCTAB nTab ) return (pData && pData->mbNote) ? pData : 0; } -ScIMapInfo* ScDrawLayer::GetIMapInfo( SdrObject* pObj ) // static +ScIMapInfo* ScDrawLayer::GetIMapInfo( SdrObject* pObj ) { USHORT nCount = pObj->GetUserDataCount(); for( USHORT i = 0; i < nCount; i++ ) @@ -1883,7 +1881,6 @@ ScIMapInfo* ScDrawLayer::GetIMapInfo( SdrObject* pObj ) // static return NULL; } -// static: IMapObject* ScDrawLayer::GetHitIMapObject( SdrObject* pObj, const Point& rWinPoint, const Window& rCmpWnd ) { @@ -1949,7 +1946,7 @@ IMapObject* ScDrawLayer::GetHitIMapObject( SdrObject* pObj, return pIMapObj; } -ScMacroInfo* ScDrawLayer::GetMacroInfo( SdrObject* pObj, BOOL bCreate ) // static +ScMacroInfo* ScDrawLayer::GetMacroInfo( SdrObject* pObj, BOOL bCreate ) { USHORT nCount = pObj->GetUserDataCount(); for( USHORT i = 0; i < nCount; i++ ) @@ -1968,7 +1965,7 @@ ScMacroInfo* ScDrawLayer::GetMacroInfo( SdrObject* pObj, BOOL bCreate ) return 0; } -void ScDrawLayer::SetGlobalDrawPersist(SfxObjectShell* pPersist) // static +void ScDrawLayer::SetGlobalDrawPersist(SfxObjectShell* pPersist) { DBG_ASSERT(!pGlobalDrawPersist,"SetGlobalDrawPersist mehrfach"); pGlobalDrawPersist = pPersist; diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index 352e78dd3ae3..11e6b38aa05a 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx @@ -220,7 +220,6 @@ ULONG ScGlobal::GetStandardFormat( double fNumber, SvNumberFormatter& rFormatter } -// static SvNumberFormatter* ScGlobal::GetEnglishFormatter() { if ( !pEnglishFormatter ) @@ -685,7 +684,6 @@ void ScGlobal::Clear() //------------------------------------------------------------------------ -// static CharSet ScGlobal::GetCharsetValue( const String& rCharSet ) { // new TextEncoding values @@ -711,7 +709,6 @@ CharSet ScGlobal::GetCharsetValue( const String& rCharSet ) //------------------------------------------------------------------------ -// static String ScGlobal::GetCharsetString( CharSet eVal ) { const sal_Char* pChar; @@ -770,7 +767,6 @@ void ScGlobal::ResetFunctionList() //------------------------------------------------------------------------ -// static ScUnitConverter* ScGlobal::GetUnitConverter() { if ( !pUnitConverter ) @@ -782,7 +778,6 @@ ScUnitConverter* ScGlobal::GetUnitConverter() //------------------------------------------------------------------------ -// static const sal_Unicode* ScGlobal::UnicodeStrChr( const sal_Unicode* pStr, sal_Unicode c ) { diff --git a/sc/source/core/data/globalx.cxx b/sc/source/core/data/globalx.cxx index 43b14fab4687..8d043ac7a1e8 100644 --- a/sc/source/core/data/globalx.cxx +++ b/sc/source/core/data/globalx.cxx @@ -56,7 +56,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::ucb; -// static void ScGlobal::InitAddIns() { // multi paths separated by semicolons @@ -135,7 +134,6 @@ void ScGlobal::InitAddIns() } -// static String ScGlobal::GetOrdinalSuffix( sal_Int32 nNumber) { if (!xOrdinalSuffix.is()) diff --git a/sc/source/core/data/sheetevents.cxx b/sc/source/core/data/sheetevents.cxx index d1df2bb04df6..da935464cffb 100644 --- a/sc/source/core/data/sheetevents.cxx +++ b/sc/source/core/data/sheetevents.cxx @@ -40,7 +40,6 @@ // ----------------------------------------------------------------------- -// static rtl::OUString ScSheetEvents::GetEventName(sal_Int32 nEvent) { if (nEvent<0 || nEvent>=SC_SHEETEVENT_COUNT) @@ -62,7 +61,6 @@ rtl::OUString ScSheetEvents::GetEventName(sal_Int32 nEvent) return rtl::OUString::createFromAscii(aEventNames[nEvent]); } -// static sal_Int32 ScSheetEvents::GetVbaSheetEventId(sal_Int32 nEvent) { using namespace ::com::sun::star::script::vba::VBAEventId; @@ -85,7 +83,6 @@ sal_Int32 ScSheetEvents::GetVbaSheetEventId(sal_Int32 nEvent) return nVbaEventIds[nEvent]; } -// static sal_Int32 ScSheetEvents::GetVbaDocumentEventId(sal_Int32 nEvent) { using namespace ::com::sun::star::script::vba::VBAEventId; diff --git a/sc/source/core/inc/interpre.hxx b/sc/source/core/inc/interpre.hxx index 91fcb31be0e7..d323027490df 100644 --- a/sc/source/core/inc/interpre.hxx +++ b/sc/source/core/inc/interpre.hxx @@ -911,7 +911,6 @@ inline void ScInterpreter::TreatDoubleError( double& rVal ) } -// static inline double ScInterpreter::div( const double& fNumerator, const double& fDenominator ) { return (fDenominator != 0.0) ? (fNumerator / fDenominator) : diff --git a/sc/source/core/tool/addincol.cxx b/sc/source/core/tool/addincol.cxx index 5299ac450e42..9a6d416552dc 100644 --- a/sc/source/core/tool/addincol.cxx +++ b/sc/source/core/tool/addincol.cxx @@ -1309,7 +1309,6 @@ BOOL ScUnoAddInCollection::FillFunctionDesc( long nFunc, ScFuncDesc& rDesc ) return FillFunctionDescFromData( rFuncData, rDesc ); } -// static BOOL ScUnoAddInCollection::FillFunctionDescFromData( const ScUnoAddInFuncData& rFuncData, ScFuncDesc& rDesc ) { rDesc.Clear(); diff --git a/sc/source/core/tool/addinlis.cxx b/sc/source/core/tool/addinlis.cxx index 914841169c78..cb35b625baf2 100644 --- a/sc/source/core/tool/addinlis.cxx +++ b/sc/source/core/tool/addinlis.cxx @@ -54,7 +54,6 @@ List ScAddInListener::aAllListeners; //------------------------------------------------------------------------ -// static ScAddInListener* ScAddInListener::CreateListener( uno::Reference<sheet::XVolatileResult> xVR, ScDocument* pDoc ) { @@ -81,7 +80,6 @@ ScAddInListener::~ScAddInListener() delete pDocs; } -// static ScAddInListener* ScAddInListener::Get( uno::Reference<sheet::XVolatileResult> xVR ) { sheet::XVolatileResult* pComp = xVR.get(); @@ -97,7 +95,6 @@ ScAddInListener* ScAddInListener::Get( uno::Reference<sheet::XVolatileResult> xV } //! move to some container object? -// static void ScAddInListener::RemoveDocument( ScDocument* pDocumentP ) { ULONG nPos = aAllListeners.Count(); diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx index aa81884553c5..97f6a157ed80 100644 --- a/sc/source/core/tool/autoform.cxx +++ b/sc/source/core/tool/autoform.cxx @@ -56,9 +56,6 @@ const sal_Char *linker_dummy = ""; -// Standard-Name ist jetzt STR_STYLENAME_STANDARD (wie Vorlagen) -//static const sal_Char cStandardName[] = "Standard"; - static const sal_Char sAutoTblFmtName[] = "autotbl.fmt"; // bis SO5PF diff --git a/sc/source/core/tool/charthelper.cxx b/sc/source/core/tool/charthelper.cxx index 7bf78a632ecc..a75dd176bd86 100644 --- a/sc/source/core/tool/charthelper.cxx +++ b/sc/source/core/tool/charthelper.cxx @@ -126,13 +126,11 @@ BOOL lcl_AdjustRanges( ScRangeList& rRanges, SCTAB nSourceTab, SCTAB nDestTab, S }//end anonymous namespace // === ScChartHelper ====================================== -//static USHORT ScChartHelper::DoUpdateAllCharts( ScDocument* pDoc ) { return lcl_DoUpdateCharts( ScAddress(), pDoc, TRUE ); } -//static void ScChartHelper::AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, const SCTAB nSrcTab, const SCTAB nDestTab ) { if( !pSrcDoc || !pDestDoc ) @@ -173,7 +171,6 @@ void ScChartHelper::AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, } } -//static uno::Reference< chart2::XChartDocument > ScChartHelper::GetChartFromSdrObject( SdrObject* pObject ) { uno::Reference< chart2::XChartDocument > xReturn; diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 633bf8ea0b88..a0cc38007615 100644 --- a/sc/source/core/tool/chgtrack.cxx +++ b/sc/source/core/tool/chgtrack.cxx @@ -1744,7 +1744,6 @@ BOOL ScChangeActionContent::Select( ScDocument* pDoc, ScChangeTrack* pTrack, } -// static void ScChangeActionContent::GetStringOfCell( String& rStr, const ScBaseCell* pCell, const ScDocument* pDoc, const ScAddress& rPos ) { @@ -1760,7 +1759,6 @@ void ScChangeActionContent::GetStringOfCell( String& rStr, } -// static void ScChangeActionContent::GetStringOfCell( String& rStr, const ScBaseCell* pCell, const ScDocument* pDoc, ULONG nFormat ) { @@ -1793,7 +1791,6 @@ void ScChangeActionContent::GetStringOfCell( String& rStr, } -// static ScChangeActionContentCellType ScChangeActionContent::GetContentCellType( const ScBaseCell* pCell ) { if ( pCell ) @@ -1829,14 +1826,12 @@ ScChangeActionContentCellType ScChangeActionContent::GetContentCellType( const S } -// static BOOL ScChangeActionContent::NeedsNumberFormat( const ScBaseCell* pCell ) { return pCell && pCell->GetCellType() == CELLTYPE_VALUE; } -// static void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, const ScAddress& rPos, const ScBaseCell* pOrgCell, const ScDocument* pFromDoc, ScDocument* pToDoc ) @@ -1845,8 +1840,6 @@ void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, SetValue( rStr, pCell, nFormat, pOrgCell, pFromDoc, pToDoc ); } - -// static void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, ULONG nFormat, const ScBaseCell* pOrgCell, const ScDocument* pFromDoc, ScDocument* pToDoc ) @@ -1880,7 +1873,6 @@ void ScChangeActionContent::SetValue( String& rStr, ScBaseCell*& pCell, } -// static void ScChangeActionContent::SetCell( String& rStr, ScBaseCell* pCell, ULONG nFormat, const ScDocument* pDoc ) { @@ -2212,7 +2204,6 @@ const SCROW ScChangeTrack::nContentRowsPerSlot = InitContentRowsPerSlot(); const SCSIZE ScChangeTrack::nContentSlots = (MAXROWCOUNT) / InitContentRowsPerSlot() + 2; -// static SCROW ScChangeTrack::InitContentRowsPerSlot() { const SCSIZE nMaxSlots = 0xffe0 / sizeof( ScChangeActionContent* ) - 2; @@ -2726,7 +2717,6 @@ void ScChangeTrack::AppendMove( const ScRange& rFromRange, } -// static BOOL ScChangeTrack::IsMatrixFormulaRangeDifferent( const ScBaseCell* pOldCell, const ScBaseCell* pNewCell ) { @@ -3338,7 +3328,6 @@ void ScChangeTrack::Undo( ULONG nStartAction, ULONG nEndAction, bool bMerge ) } -// static BOOL ScChangeTrack::MergeIgnore( const ScChangeAction& rAction, ULONG nFirstMerge ) { if ( rAction.IsRejected() ) diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 9f899f437b50..3553cef124c4 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -288,7 +288,6 @@ void dbg_call_generateMappingDiff() } #endif // erGENERATEMAPPINGDIFF -// static void ScCompiler::DeInit() { if (pCharClassEnglish) @@ -325,7 +324,6 @@ bool ScCompiler::IsEnglishSymbol( const String& rName ) return false; // no valid function name } -// static void ScCompiler::InitCharClassEnglish() { ::com::sun::star::lang::Locale aLocale( @@ -4184,7 +4182,6 @@ void ScCompiler::MoveRelWrap( SCCOL nMaxCol, SCROW nMaxRow ) } } -// static // Wrap-adjust relative references of a RangeName to current position, // don't call for other token arrays! void ScCompiler::MoveRelWrap( ScTokenArray& rArr, ScDocument* pDoc, const ScAddress& rPos, diff --git a/sc/source/core/tool/detfunc.cxx b/sc/source/core/tool/detfunc.cxx index a6340fbcd955..d964118c4a60 100644 --- a/sc/source/core/tool/detfunc.cxx +++ b/sc/source/core/tool/detfunc.cxx @@ -461,7 +461,7 @@ BOOL ScDetectiveFunc::HasArrow( const ScAddress& rStart, return bFound; } -BOOL ScDetectiveFunc::IsNonAlienArrow( SdrObject* pObject ) // static +BOOL ScDetectiveFunc::IsNonAlienArrow( SdrObject* pObject ) { if ( pObject->GetLayer()==SC_LAYER_INTERN && pObject->IsPolyObj() && pObject->GetPointCount()==2 ) @@ -1706,7 +1706,6 @@ void ScDetectiveFunc::InsertObject( ScDetectiveObjType eType, } } -// static ColorData ScDetectiveFunc::GetArrowColor() { if (!bColorsInitialized) @@ -1714,7 +1713,6 @@ ColorData ScDetectiveFunc::GetArrowColor() return nArrowColor; } -// static ColorData ScDetectiveFunc::GetErrorColor() { if (!bColorsInitialized) @@ -1722,7 +1720,6 @@ ColorData ScDetectiveFunc::GetErrorColor() return nErrorColor; } -// static ColorData ScDetectiveFunc::GetCommentColor() { if (!bColorsInitialized) @@ -1730,7 +1727,6 @@ ColorData ScDetectiveFunc::GetCommentColor() return nCommentColor; } -// static void ScDetectiveFunc::InitializeColors() { // may be called several times to update colors from configuration @@ -1743,7 +1739,6 @@ void ScDetectiveFunc::InitializeColors() bColorsInitialized = TRUE; } -// static BOOL ScDetectiveFunc::IsColorsInitialized() { return bColorsInitialized; diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index c97e11e606db..52a1a7618b23 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -3614,7 +3614,7 @@ ScInterpreter::~ScInterpreter() } -void ScInterpreter::GlobalExit() // static +void ScInterpreter::GlobalExit() { RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "sc", "er", "ScInterpreter::GlobalExit" ); DBG_ASSERT(!bGlobalStackInUse, "wer benutzt noch den TokenStack?"); diff --git a/sc/source/core/tool/odffmap.cxx b/sc/source/core/tool/odffmap.cxx index 28b13e249a07..fc89705d1c39 100644 --- a/sc/source/core/tool/odffmap.cxx +++ b/sc/source/core/tool/odffmap.cxx @@ -138,13 +138,11 @@ ScCompiler::AddInMap ScCompiler::maAddInMap[] = { "FVSCHEDULE", "FVSCHEDULE", false, "com.sun.star.sheet.addin.Analysis.getFvschedule", "COM.SUN.STAR.SHEET.ADDIN.ANALYSIS.GETFVSCHEDULE" }, }; -// static const ScCompiler::AddInMap* ScCompiler::GetAddInMap() { return maAddInMap; } -// static size_t ScCompiler::GetAddInMapCount() { return SAL_N_ELEMENTS(maAddInMap); diff --git a/sc/source/core/tool/optutil.cxx b/sc/source/core/tool/optutil.cxx index 45a3e20f0e58..377676e5647f 100644 --- a/sc/source/core/tool/optutil.cxx +++ b/sc/source/core/tool/optutil.cxx @@ -39,7 +39,6 @@ //------------------------------------------------------------------ -// static BOOL ScOptionsUtil::IsMetricSystem() { //! which language should be used here - system language or installed office language? diff --git a/sc/source/core/tool/progress.cxx b/sc/source/core/tool/progress.cxx index ed6de3ed6dfc..20b6440ce302 100644 --- a/sc/source/core/tool/progress.cxx +++ b/sc/source/core/tool/progress.cxx @@ -141,7 +141,6 @@ ScProgress::~ScProgress() } } -// static void ScProgress::CreateInterpretProgress( ScDocument* pDoc, BOOL bWait ) { @@ -167,7 +166,6 @@ void ScProgress::CreateInterpretProgress( ScDocument* pDoc, BOOL bWait ) } -// static void ScProgress::DeleteInterpretProgress() { diff --git a/sc/source/core/tool/rangenam.cxx b/sc/source/core/tool/rangenam.cxx index 3cfb72ba6fc5..2976141dcbce 100644 --- a/sc/source/core/tool/rangenam.cxx +++ b/sc/source/core/tool/rangenam.cxx @@ -426,7 +426,7 @@ void ScRangeData::UpdateTabRef(SCTAB nOldTable, USHORT nFlag, SCTAB nNewTable) } -void ScRangeData::MakeValidName( String& rName ) // static +void ScRangeData::MakeValidName( String& rName ) { // strip leading invalid characters diff --git a/sc/source/core/tool/rangeseq.cxx b/sc/source/core/tool/rangeseq.cxx index 0cd5bee35056..10b7f7936528 100644 --- a/sc/source/core/tool/rangeseq.cxx +++ b/sc/source/core/tool/rangeseq.cxx @@ -378,7 +378,6 @@ bool ScApiTypeConversion::ConvertAnyToDouble( double & o_fVal, //------------------------------------------------------------------------ -// static ScMatrixRef ScSequenceToMatrix::CreateMixedMatrix( const com::sun::star::uno::Any & rAny ) { ScMatrixRef xMatrix; diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx index e60d5ddc4de2..a57c2dad928d 100644 --- a/sc/source/core/tool/token.cxx +++ b/sc/source/core/tool/token.cxx @@ -527,7 +527,6 @@ BOOL ScToken::Is3DRef() const return FALSE; } -// static FormulaTokenRef ScToken::ExtendRangeReference( FormulaToken & rTok1, FormulaToken & rTok2, const ScAddress & rPos, bool bReuseDoubleRef ) { diff --git a/sc/source/core/tool/unitconv.cxx b/sc/source/core/tool/unitconv.cxx index cd2cb0eb0496..58cb4146be01 100644 --- a/sc/source/core/tool/unitconv.cxx +++ b/sc/source/core/tool/unitconv.cxx @@ -75,7 +75,6 @@ ScDataObject* ScUnitConverterData::Clone() const } -// static void ScUnitConverterData::BuildIndexString( String& rStr, const String& rFromUnit, const String& rToUnit ) { |