diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 19:00:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-11 19:00:55 +0200 |
commit | 87d4fd3b13f4dad7b043a776124e947bd0517014 (patch) | |
tree | fd55c762dd93b168a22960d8f2b7ee7c899c355f /cui/source | |
parent | 40677a29093b8e47dfdc17a251845624c57430f6 (diff) |
Remove unnecessary casts to void
Change-Id: Ib817e07d4becd7c4cf92501b747d7628ef231c55
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/options/optjava.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 41430d586db2..a0d4d8dabcc1 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -640,7 +640,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) for ( i = 0; i < nSize; ++i ) pParamArr[i] = pList[i].pData; eErr = jfw_setVMParameters( pParamArr, nSize ); - SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"); (void)eErr; + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setVMParameters"); rtl_freeMemory( pParamArr ); bModified = true; } @@ -651,7 +651,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ ) if ( m_pPathDlg->GetOldPath() != sPath ) { eErr = jfw_setUserClassPath( sPath.pData ); - SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"); (void)eErr; + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setUserClassPath"); bModified = true; } } @@ -682,7 +682,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"); (void)eErr; + SAL_WARN_IF(JFW_E_NONE != eErr, "cui.options", "SvxJavaOptionsPage::FillItemSet(): error in jfw_setSelectedJRE"); bModified = true; } } |