summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-03 09:38:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-03 16:30:28 +0100
commitf49e6e8b6062b5d2718764e320be8b8d052e60d0 (patch)
treec66dadc3d6b96784f3b4dd2ea0cbe9d0d7450bf9 /cui
parentdcda099e8afb6d3404a08812ae916263aa94e612 (diff)
coverity#1242834 Unused value
Change-Id: I2a68873d335f5efc27679c7bae619d942bbc5efe
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optjava.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index 70bce9cdc5fb..cf3b2b5bcd8a 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -672,7 +672,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
for ( i = 0; i < nSize; ++i )
pParamArr[i] = pList[i].pData;
eErr = jfw_setVMParameters( pParamArrIter, nSize );
- SAL_WARN_IF("cui.options", JFW_E_NONE != eErr, "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters");
+ SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters");
pParamArrIter = pParamArr;
rtl_freeMemory( pParamArr );
bModified = true;
@@ -684,8 +684,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
if ( m_pPathDlg->GetOldPath() != sPath )
{
eErr = jfw_setUserClassPath( sPath.pData );
- DBG_ASSERT( JFW_E_NONE == eErr,
- "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath" );
+ SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath");
bModified = true;
}
}
@@ -720,7 +719,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
}
eErr = jfw_setSelectedJRE( pInfo );
- SAL_WARN_IF("cui.options", JFW_E_NONE != eErr, "SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE");
+ SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE");
bModified = true;
}
}