diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-11 08:39:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-11 10:49:24 +0200 |
commit | 889fc93087ae1b57348803014c0a6090fd48c06f (patch) | |
tree | 9773c8cb5a9589d52fc0af5a2c56680c30aa3a5b /cui/source/options/optaboutconfig.cxx | |
parent | db48f40e0777e566627852aeca92588869498adb (diff) |
loplugin:unusedmethods unused return value in cui
Change-Id: Ib65ceeeb5e1be0de5e3808e652e910fff3820bf8
Diffstat (limited to 'cui/source/options/optaboutconfig.cxx')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 58838fc67505..bf596513261a 100644 --- a/cui/source/options/optaboutconfig.cxx +++ b/cui/source/options/optaboutconfig.cxx @@ -234,10 +234,8 @@ void CuiAboutConfigTabPage::Reset() m_pPrefBox->SetUpdateMode(true); } -bool CuiAboutConfigTabPage::FillItemSet() +void CuiAboutConfigTabPage::FillItemSet() { - bool bModified = false; - std::vector< std::shared_ptr< Prop_Impl > >::iterator pIter; for( pIter = m_vectorOfModified.begin() ; pIter != m_vectorOfModified.end(); ++pIter ) { @@ -245,13 +243,10 @@ bool CuiAboutConfigTabPage::FillItemSet() Reference< XNameReplace > xNameReplace( xUpdateAccess, UNO_QUERY_THROW ); xNameReplace->replaceByName( (*pIter)->Property, (*pIter)->Value ); - bModified = true; Reference< util::XChangesBatch > xChangesBatch( xUpdateAccess, UNO_QUERY_THROW ); xChangesBatch->commitChanges(); } - - return bModified; } void CuiAboutConfigTabPage::FillItems(const Reference< XNameAccess >& xNameAccess, SvTreeListEntry *pParentEntry, |