diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-01 12:14:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-02 09:38:29 +0200 |
commit | aa1b911b64641bbf29991af7c6f7798739aba667 (patch) | |
tree | 49f367d26ca57cc7a84dcdcca90613d6b46fed1f /extensions/source/update | |
parent | f70d8277941ada544736abdb72548fb16e0d992d (diff) |
loplugin:staticmethods
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
Diffstat (limited to 'extensions/source/update')
-rw-r--r-- | extensions/source/update/check/updatecheck.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatehdl.cxx | 2 | ||||
-rw-r--r-- | extensions/source/update/check/updatehdl.hxx | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx index 15cc6c8614d9..ff448c2e881c 100644 --- a/extensions/source/update/check/updatecheck.cxx +++ b/extensions/source/update/check/updatecheck.cxx @@ -254,7 +254,7 @@ protected: private: /* Used to avoid dialup login windows (on platforms we know how to double this) */ - inline bool hasInternetConnection() const + static inline bool hasInternetConnection() { #ifdef WNT return WNT_hasInternetConnection(); diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 9e69e8226e89..28eb58ea2ddd 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -607,7 +607,7 @@ void UpdateHandler::updateState( UpdateState eState ) OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBundle >& rBundle, - sal_Int32 nResourceId ) const + sal_Int32 nResourceId ) { OUString sString; OUString sKey = "string:" + OUString::number( nResourceId ); diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx index 26d5346c8c80..59be1d362c77 100644 --- a/extensions/source/update/check/updatehdl.hxx +++ b/extensions/source/update/check/updatehdl.hxx @@ -143,9 +143,9 @@ private: void enableControls( short nCtrlState ); void setDownloadBtnLabel( bool bAppendDots ); void loadStrings(); - OUString loadString( const com::sun::star::uno::Reference< com::sun::star::resource::XResourceBundle >& xBundle, - sal_Int32 nResourceId ) const; - OUString substVariables( const OUString &rSource ) const; + static OUString loadString( const com::sun::star::uno::Reference< com::sun::star::resource::XResourceBundle >& xBundle, + sal_Int32 nResourceId ); + OUString substVariables( const OUString &rSource ) const; static void setProperty( com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > &rProps, const int nIndex, const OUString &rPropName, const com::sun::star::uno::Any &rPropValue ) { rProps[ nIndex ].Name = rPropName; rProps[ nIndex ].Value = rPropValue; } |