summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-01 14:30:51 +0300
committerAndras Timar <andras.timar@collabora.com>2015-09-18 10:10:10 +0200
commit340dbf93153d412ec01f03a4ec5813245f345b49 (patch)
tree35b419d01a30678871105274a713731ec58b2709 /cui
parent2bef6f35565a37e8a994613b70ca1199acc475e5 (diff)
WaE: loplugin:staticmethods in the non-Java case
Change-Id: I1fe771f01edb0ce14da01146191cfe3f48958966 (cherry picked from commit 8002f0ddc805251e6f0f550bf8526aab8603c5df)
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optjava.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 31c94c6eb1bd..c844c12aec72 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -343,6 +343,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ParameterHdl_Impl)
}
else
m_pParamDlg->SetParameters( aParameterList );
+#else
+ (void) this; // Silence loplugin:staticmethods
#endif
return 0;
}
@@ -388,6 +390,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, ClassPathHdl_Impl)
}
else
m_pPathDlg->SetClassPath( sClassPath );
+#else
+ (void) this;
#endif
return 0;
}
@@ -466,6 +470,8 @@ void SvxJavaOptionsPage::ClearJavaInfo()
m_parJavaInfo = NULL;
m_nInfoSize = 0;
}
+#else
+ (void) this;
#endif
}
@@ -526,6 +532,8 @@ void SvxJavaOptionsPage::LoadJREs()
}
jfw_freeJavaInfo( pSelectedJava );
+#else
+ (void) this;
#endif
}
@@ -547,6 +555,7 @@ void SvxJavaOptionsPage::AddJRE( JavaInfo* _pInfo )
OUString* pLocation = new OUString( aLocObj.getFSysPath( INetURLObject::FSYS_DETECT ) );
pEntry->SetUserData( pLocation );
#else
+ (void) this;
(void)_pInfo;
#endif
}
@@ -644,6 +653,7 @@ void SvxJavaOptionsPage::AddFolder( const OUString& _rFolder )
Application::PostUserEvent( LINK( this, SvxJavaOptionsPage, StartFolderPickerHdl ) );
}
#else
+ (void) this;
(void)_rFolder;
#endif
}