diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-26 11:17:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-26 12:23:19 +0100 |
commit | a74c796865f434f6e7a8806667381d325491092b (patch) | |
tree | 398f6ed2627c61bc0efbc788889f3a3583a27990 /cui | |
parent | 6ee4b68ce5bd52b31713fc5213594e54b2412737 (diff) |
coverity#1242834 Unused value
and
coverity#1242871 Unused value
coverity#1242900 Unused value
Change-Id: Ic8c9afa5ac9ea9de661f15403646424486901696
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optjava.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 93e38013d35c..0c5d3877bf20 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -597,7 +597,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) if ( m_pParamDlg ) { eErr = jfw_setVMParameters( m_pParamDlg->GetParameters() ); - SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"); + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"); (void)eErr; bModified = true; } @@ -607,7 +607,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) if ( m_pPathDlg->GetOldPath() != sPath ) { eErr = jfw_setUserClassPath( sPath ); - SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"); + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"); (void)eErr; bModified = true; } } @@ -638,7 +638,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) } eErr = jfw_setSelectedJRE( pInfo ); - SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE"); + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE"); (void)eErr; bModified = true; } } @@ -649,7 +649,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) bool bEnabled = false; eErr = jfw_getEnabled( &bEnabled ); DBG_ASSERT( JFW_E_NONE == eErr, - "SvxJavaOptionsPage::FillItemSet(): error in jfw_getEnabled" ); + "SvxJavaOptionsPage::FillItemSet(): error in jfw_getEnabled" ); (void)eErr; if ( bool(bEnabled) != m_pJavaEnableCB->IsChecked() ) { eErr = jfw_setEnabled( m_pJavaEnableCB->IsChecked() ); |