summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-09-01 14:30:51 +0300
committerTor Lillqvist <tml@collabora.com>2015-09-01 14:31:03 +0300
commit8002f0ddc805251e6f0f550bf8526aab8603c5df (patch)
tree791a95ed0c9582d48e6351a9c2034817b494674d
parentc33062fc07ac20b1ac28bd000fd3c57016d72e34 (diff)
WaE: loplugin:staticmethods in the non-Java case
Change-Id: I1fe771f01edb0ce14da01146191cfe3f48958966
-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 3836b1631795..3d6320ce433a 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -340,6 +340,8 @@ IMPL_LINK_NOARG_TYPED(SvxJavaOptionsPage, ParameterHdl_Impl, Button*, void)
}
else
m_pParamDlg->SetParameters( aParameterList );
+#else
+ (void) this; // Silence loplugin:staticmethods
#endif
}
@@ -384,6 +386,8 @@ IMPL_LINK_NOARG_TYPED(SvxJavaOptionsPage, ClassPathHdl_Impl, Button*, void)
}
else
m_pPathDlg->SetClassPath( sClassPath );
+#else
+ (void) this;
#endif
}
@@ -457,6 +461,8 @@ void SvxJavaOptionsPage::ClearJavaInfo()
m_parJavaInfo = NULL;
m_nInfoSize = 0;
}
+#else
+ (void) this;
#endif
}
@@ -517,6 +523,8 @@ void SvxJavaOptionsPage::LoadJREs()
}
jfw_freeJavaInfo( pSelectedJava );
+#else
+ (void) this;
#endif
}
@@ -538,6 +546,7 @@ void SvxJavaOptionsPage::AddJRE( JavaInfo* _pInfo )
OUString* pLocation = new OUString( aLocObj.getFSysPath( INetURLObject::FSYS_DETECT ) );
pEntry->SetUserData( pLocation );
#else
+ (void) this;
(void)_pInfo;
#endif
}
@@ -635,6 +644,7 @@ void SvxJavaOptionsPage::AddFolder( const OUString& _rFolder )
Application::PostUserEvent( LINK( this, SvxJavaOptionsPage, StartFolderPickerHdl ) );
}
#else
+ (void) this;
(void)_rFolder;
#endif
}