Kaydet (Commit) 340dbf93 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Andras Timar

WaE: loplugin:staticmethods in the non-Java case

Change-Id: I1fe771f01edb0ce14da01146191cfe3f48958966
(cherry picked from commit 8002f0dd)
üst 2bef6f35
...@@ -343,6 +343,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ParameterHdl_Impl) ...@@ -343,6 +343,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ParameterHdl_Impl)
} }
else else
m_pParamDlg->SetParameters( aParameterList ); m_pParamDlg->SetParameters( aParameterList );
#else
(void) this; // Silence loplugin:staticmethods
#endif #endif
return 0; return 0;
} }
...@@ -388,6 +390,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ClassPathHdl_Impl) ...@@ -388,6 +390,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ClassPathHdl_Impl)
} }
else else
m_pPathDlg->SetClassPath( sClassPath ); m_pPathDlg->SetClassPath( sClassPath );
#else
(void) this;
#endif #endif
return 0; return 0;
} }
...@@ -466,6 +470,8 @@ void SvxJavaOptionsPage::ClearJavaInfo() ...@@ -466,6 +470,8 @@ void SvxJavaOptionsPage::ClearJavaInfo()
m_parJavaInfo = NULL; m_parJavaInfo = NULL;
m_nInfoSize = 0; m_nInfoSize = 0;
} }
#else
(void) this;
#endif #endif
} }
...@@ -526,6 +532,8 @@ void SvxJavaOptionsPage::LoadJREs() ...@@ -526,6 +532,8 @@ void SvxJavaOptionsPage::LoadJREs()
} }
jfw_freeJavaInfo( pSelectedJava ); jfw_freeJavaInfo( pSelectedJava );
#else
(void) this;
#endif #endif
} }
...@@ -547,6 +555,7 @@ void SvxJavaOptionsPage::AddJRE( JavaInfo* _pInfo ) ...@@ -547,6 +555,7 @@ void SvxJavaOptionsPage::AddJRE( JavaInfo* _pInfo )
OUString* pLocation = new OUString( aLocObj.getFSysPath( INetURLObject::FSYS_DETECT ) ); OUString* pLocation = new OUString( aLocObj.getFSysPath( INetURLObject::FSYS_DETECT ) );
pEntry->SetUserData( pLocation ); pEntry->SetUserData( pLocation );
#else #else
(void) this;
(void)_pInfo; (void)_pInfo;
#endif #endif
} }
...@@ -644,6 +653,7 @@ void SvxJavaOptionsPage::AddFolder( const OUString& _rFolder ) ...@@ -644,6 +653,7 @@ void SvxJavaOptionsPage::AddFolder( const OUString& _rFolder )
Application::PostUserEvent( LINK( this, SvxJavaOptionsPage, StartFolderPickerHdl ) ); Application::PostUserEvent( LINK( this, SvxJavaOptionsPage, StartFolderPickerHdl ) );
} }
#else #else
(void) this;
(void)_rFolder; (void)_rFolder;
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment