diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-15 09:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-23 13:08:48 +0200 |
commit | a880ec813114c204303a5b2a27909ab7f9e027de (patch) | |
tree | f5942b76bcc6ccbe970d18e7e107c78990db44f3 /extensions/source | |
parent | 79ed057b955a8d23e8289b9a5898c8bdaebabbfa (diff) |
loplugin:staticmethods
Change-Id: Id7fc12bc61c6e803f45cc60556d9cf54ac2e529f
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/bibliography/bibconfig.hxx | 2 | ||||
-rw-r--r-- | extensions/source/bibliography/bibmod.hxx | 2 | ||||
-rw-r--r-- | extensions/source/scanner/grid.cxx | 4 | ||||
-rw-r--r-- | extensions/source/scanner/sane.hxx | 6 | ||||
-rw-r--r-- | extensions/source/scanner/scanner.hxx | 4 |
5 files changed, 9 insertions, 9 deletions
diff --git a/extensions/source/bibliography/bibconfig.hxx b/extensions/source/bibliography/bibconfig.hxx index 23880ed711ac..341f05d4d080 100644 --- a/extensions/source/bibliography/bibconfig.hxx +++ b/extensions/source/bibliography/bibconfig.hxx @@ -101,7 +101,7 @@ class BibConfig : public utl::ConfigItem OUString aColumnDefaults[COLUMN_COUNT]; - com::sun::star::uno::Sequence<OUString> GetPropertyNames(); + static com::sun::star::uno::Sequence<OUString> GetPropertyNames(); virtual void ImplCommit() SAL_OVERRIDE; diff --git a/extensions/source/bibliography/bibmod.hxx b/extensions/source/bibliography/bibmod.hxx index 220f83fcd55a..4c7afb525fe7 100644 --- a/extensions/source/bibliography/bibmod.hxx +++ b/extensions/source/bibliography/bibmod.hxx @@ -38,7 +38,7 @@ class BibModul ResMgr* GetResMgr(){return pResMgr;} static BibConfig* GetConfig(); - BibDataManager* createDataManager(); + static BibDataManager* createDataManager(); }; diff --git a/extensions/source/scanner/grid.cxx b/extensions/source/scanner/grid.cxx index 96fb625615c6..1056a1474c9b 100644 --- a/extensions/source/scanner/grid.cxx +++ b/extensions/source/scanner/grid.cxx @@ -105,9 +105,9 @@ class GridWindow : public vcl::Window void drawHandles(); void computeExtremes(); - void computeChunk( double fMin, double fMax, double& fChunkOut, double& fMinChunkOut ); + static void computeChunk( double fMin, double fMax, double& fChunkOut, double& fMinChunkOut ); void computeNew(); - double interpolate( double x, double* pNodeX, double* pNodeY, int nNodes ); + static double interpolate( double x, double* pNodeX, double* pNodeY, int nNodes ); virtual void MouseMove( const MouseEvent& ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& ) SAL_OVERRIDE; diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx index d0ae220ce38a..0a5a432c4cf2 100644 --- a/extensions/source/scanner/sane.hxx +++ b/extensions/source/scanner/sane.hxx @@ -98,10 +98,10 @@ private: Link maReloadOptionsLink; - inline oslGenericFunction + static inline oslGenericFunction LoadSymbol( const char* ); - void Init(); - void DeInit(); + static void Init(); + static void DeInit(); SANE_Status ControlOption( int, SANE_Action, void* ); diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx index 4b4a18e64318..502468c2a135 100644 --- a/extensions/source/scanner/scanner.hxx +++ b/extensions/source/scanner/scanner.hxx @@ -47,8 +47,8 @@ protected: osl::Mutex maProtector; void* mpData; - void AcquireData(); - void ReleaseData(); + static void AcquireData(); + static void ReleaseData(); public: |