summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 15:36:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 17:34:13 +0100
commit5c7dd81ca32bd194b2ab7d181e2e7593d6347730 (patch)
treec690123535aad2b4e5b66979ebf805da0c764f5c /sc/inc
parentd197d524c5292cf6d66be802ec7d1fed78e30416 (diff)
loplugin:staticmethods in sc
Change-Id: I3cdce43e0ba9b17f9bf993ebcad5f64f0834ceaf Reviewed-on: https://gerrit.libreoffice.org/63421 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/conditio.hxx2
-rw-r--r--sc/inc/datamapper.hxx2
-rw-r--r--sc/inc/document.hxx6
-rw-r--r--sc/inc/documentimport.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index 65c9067b8700..3b0480e64d6d 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -323,7 +323,7 @@ class SC_DLLPUBLIC ScConditionEntry : public ScFormatEntry
bool bFirstRun;
std::unique_ptr<ScFormulaListener> mpListener;
- void SimplifyCompiledFormula( std::unique_ptr<ScTokenArray>& rFormula,
+ static void SimplifyCompiledFormula( std::unique_ptr<ScTokenArray>& rFormula,
double& rVal,
bool& rIsStr,
OUString& rStrVal );
diff --git a/sc/inc/datamapper.hxx b/sc/inc/datamapper.hxx
index d54e1a81c2ed..2f8e51d506c0 100644
--- a/sc/inc/datamapper.hxx
+++ b/sc/inc/datamapper.hxx
@@ -87,7 +87,7 @@ public:
const OUString& getProvider() const;
const OUString& getID() const;
const ScOrcusImportXMLParam& getXMLImportParam() const;
- double getUpdateFrequency() const;
+ static double getUpdateFrequency();
OUString getDBName() const;
void setDBData(const OUString& rDBName);
ScDBDataManager* getDBManager();
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 603d9590033a..bad7ae69e817 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -284,10 +284,10 @@ struct ScDocumentThreadSpecific
}
// To be called in the thread at start
- void SetupFromNonThreadedData(const ScDocumentThreadSpecific& rNonThreadedData);
+ static void SetupFromNonThreadedData(const ScDocumentThreadSpecific& rNonThreadedData);
// To be called in the main thread after the thread has finished
- void MergeBackIntoNonThreadedData(ScDocumentThreadSpecific& rNonThreadedData);
+ static void MergeBackIntoNonThreadedData(ScDocumentThreadSpecific& rNonThreadedData);
};
/// Enumeration to determine which pieces of the code should not be mutated when set.
@@ -588,7 +588,7 @@ public:
{
return IsThreadedGroupCalcInProgress() ? *maThreadSpecific.pContext : GetNonThreadedContext();
}
- void SetupFromNonThreadedContext( ScInterpreterContext& threadedContext, int threadNumber );
+ static void SetupFromNonThreadedContext( ScInterpreterContext& threadedContext, int threadNumber );
void MergeBackIntoNonThreadedContext( ScInterpreterContext& threadedContext, int threadNumber );
void SetThreadedGroupCalcInProgress( bool set ) { (void)this; ScGlobal::bThreadedGroupCalcInProgress = set; }
bool IsThreadedGroupCalcInProgress() const { (void)this; return ScGlobal::bThreadedGroupCalcInProgress; }
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index 210ee786a7ea..02e425449176 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -133,7 +133,7 @@ public:
private:
void initColumn(ScColumn& rCol);
- void broadcastRecalcAfterImportColumn(ScColumn& rCol);
+ static void broadcastRecalcAfterImportColumn(ScColumn& rCol);
};
#endif