diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-23 15:34:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 09:30:39 +0200 |
commit | d3b5038cbbe4adf642b3906da111a9f0d2c918a7 (patch) | |
tree | 9f025e613c8d33bfebcc08d89f7313817bd38bd6 /include/filter/msfilter/mstoolbar.hxx | |
parent | 0c58017468abb0ebee3088336e7e7a074e53edee (diff) |
loplugin:staticmethods
Change-Id: Iea68c4e466dd8e1cb7164959a680e5e52542166b
Diffstat (limited to 'include/filter/msfilter/mstoolbar.hxx')
-rw-r--r-- | include/filter/msfilter/mstoolbar.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx index 2705df3bc343..227f97ca6b8d 100644 --- a/include/filter/msfilter/mstoolbar.hxx +++ b/include/filter/msfilter/mstoolbar.hxx @@ -47,7 +47,7 @@ class MSFILTER_DLLPUBLIC CustomToolBarImportHelper css::uno::Reference< css::ui::XUIConfigurationManagerSupplier > m_xCfgSupp; css::uno::Reference< css::ui::XUIConfigurationManager > m_xAppCfgMgr; SfxObjectShell& mrDocSh; - void ScaleImage( css::uno::Reference< css::graphic::XGraphic >& xGraphic, long nNewSize ); + static void ScaleImage( css::uno::Reference< css::graphic::XGraphic >& xGraphic, long nNewSize ); public: CustomToolBarImportHelper( SfxObjectShell& rDocSh, const css::uno::Reference< css::ui::XUIConfigurationManager >& rxAppCfgMgr ); @@ -56,7 +56,7 @@ public: css::uno::Reference< css::ui::XUIConfigurationManager > getAppCfgManager() { return m_xAppCfgMgr;} - css::uno::Any createCommandFromMacro( const OUString& sCmd ); + static css::uno::Any createCommandFromMacro( const OUString& sCmd ); void addIcon( const css::uno::Reference< css::graphic::XGraphic >& xImage, const OUString& sString ); void applyIcons(); @@ -71,7 +71,7 @@ class MSFILTER_DLLPUBLIC TBBase friend class Indent; static int nIndent; // num spaces to indent before printing protected: - void indent_printf(FILE* fp, const char* format, ... ); + static void indent_printf(FILE* fp, const char* format, ... ); sal_uInt32 nOffSet; // usually for debug we can store the offset in the stream to this record public: TBBase() : nOffSet( 0 ) {} @@ -95,7 +95,7 @@ public: TBBase::nIndent = TBBase::nIndent + 2; } ~Indent() { TBBase::nIndent = TBBase::nIndent - 2; } - void init() { TBBase::nIndent = 0; } + static void init() { TBBase::nIndent = 0; } }; |