diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 12:23:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-16 07:26:27 +0100 |
commit | a2751c0795cdac9d78f8919aab319a418b6e0bbc (patch) | |
tree | 1396e27bd0e86536b9a29f08192f3d7eaeff2c8a /sd | |
parent | a04340a08c9f2a0e7208f3109fbcc97ab19fccb3 (diff) |
loplugin:staticmethods improvement
Change-Id: I8889ce8a7d2309b54454cfe4c6421282e1c6e755
Reviewed-on: https://gerrit.libreoffice.org/63434
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/epptooxml.hxx | 2 | ||||
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.hxx | 22 | ||||
-rw-r--r-- | sd/source/filter/xml/sdtransform.cxx | 6 | ||||
-rw-r--r-- | sd/source/ui/inc/vectdlg.hxx | 2 |
4 files changed, 16 insertions, 16 deletions
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx index 2e2c6a8ad844..a9b26576d5b6 100644 --- a/sd/source/filter/eppt/epptooxml.hxx +++ b/sd/source/filter/eppt/epptooxml.hxx @@ -93,7 +93,7 @@ private: virtual void ImplWriteSlideMaster( sal_uInt32 nPageNum, css::uno::Reference< css::beans::XPropertySet > const & aXBackgroundPropSet ) override; void ImplWritePPTXLayout( sal_Int32 nOffset, sal_uInt32 nMasterNum ); bool WriteColorSchemes(const FSHelperPtr& pFS, const OUString& rThemePath); - void WriteDefaultColorSchemes(const FSHelperPtr& pFS); + static void WriteDefaultColorSchemes(const FSHelperPtr& pFS); void WriteTheme( sal_Int32 nThemeNum ); virtual bool ImplCreateDocument() override; diff --git a/sd/source/filter/ppt/pptinanimations.hxx b/sd/source/filter/ppt/pptinanimations.hxx index 060c7bad2a0c..beac67618acc 100644 --- a/sd/source/filter/ppt/pptinanimations.hxx +++ b/sd/source/filter/ppt/pptinanimations.hxx @@ -94,18 +94,18 @@ private: void dump( sal_uInt32 nLen, bool bNewLine = true ); #endif - void dump_atom_header( const Atom* pAtom, bool bOpen, bool bAppend ); - void dump_atom( const Atom* pAtom, bool bNewLine = true ); - void dump_target( css::uno::Any& rAny ); - void dump( css::uno::Any& rAny ); - void dump( const PropertySet& rSet ); - void dump( const AnimationNode& rNode ); - void dump( const char * pText ); - void dump( const char * pText, sal_Int32 nInt ); + static void dump_atom_header( const Atom* pAtom, bool bOpen, bool bAppend ); + static void dump_atom( const Atom* pAtom, bool bNewLine = true ); + static void dump_target( css::uno::Any& rAny ); + static void dump( css::uno::Any& rAny ); + static void dump( const PropertySet& rSet ); + static void dump( const AnimationNode& rNode ); + static void dump( const char * pText ); + static void dump( const char * pText, sal_Int32 nInt ); void dump( const char * pText, sal_Int64 nInt ); - void dump( const char * pText, double fDouble ); - void dump( const char * pText, const char * pText2 ); - void dump( const char * pText, const OUString& rString ); + static void dump( const char * pText, double fDouble ); + static void dump( const char * pText, const char * pText2 ); + static void dump( const char * pText, const OUString& rString ); }; } // namespace ppt diff --git a/sd/source/filter/xml/sdtransform.cxx b/sd/source/filter/xml/sdtransform.cxx index 17806cf90903..d08202a27c66 100644 --- a/sd/source/filter/xml/sdtransform.cxx +++ b/sd/source/filter/xml/sdtransform.cxx @@ -57,12 +57,12 @@ public: void transformTextShape( SdrTextObj& rTextShape ); bool getBulletState( const SfxItemSet& rSet, SfxStyleSheetBase* pSheet, bool& rState ); - bool getBulletState( const SfxItemSet& rSet, sal_uInt16 nWhich, bool& rState ); + static bool getBulletState( const SfxItemSet& rSet, sal_uInt16 nWhich, bool& rState ); static bool transformItemSet( SfxItemSet& rSet, bool bNumbering ); - bool removeAlienAttributes( SfxItemSet& rSet ); - bool removeAlienAttributes( SfxItemSet& rSet, sal_uInt16 nWhich ); + static bool removeAlienAttributes( SfxItemSet& rSet ); + static bool removeAlienAttributes( SfxItemSet& rSet, sal_uInt16 nWhich ); SdDrawDocument& mrDocument; SdrOutliner& mrOutliner; diff --git a/sd/source/ui/inc/vectdlg.hxx b/sd/source/ui/inc/vectdlg.hxx index a45d7a9aca64..60ccc3dcd5bc 100644 --- a/sd/source/ui/inc/vectdlg.hxx +++ b/sd/source/ui/inc/vectdlg.hxx @@ -61,7 +61,7 @@ class SdVectorizeDlg : public weld::GenericDialogController static ::tools::Rectangle GetRect( const Size& rDispSize, const Size& rBmpSize ); Bitmap GetPreparedBitmap( Bitmap const & rBmp, Fraction& rScale ); void Calculate( Bitmap const & rBmp, GDIMetaFile& rMtf ); - void AddTile( BitmapReadAccess const * pRAcc, GDIMetaFile& rMtf, + static void AddTile( BitmapReadAccess const * pRAcc, GDIMetaFile& rMtf, long nPosX, long nPosY, long nWidth, long nHeight ); DECL_LINK( ProgressHdl, long, void ); |