summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-17 09:02:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-19 07:42:14 +0100
commit9656150f313229533a291eefd1bf33986bb19730 (patch)
tree0eb8a48678e2574fd9ff4eec30a8ac26ed844502 /cui
parent4c4b05b762e511bc466105be252fb3cecf2307ad (diff)
loplugin:singlevalfields
Change-Id: If21bdaa8431a4d40bbf70a6e9a119d77a3596012 Reviewed-on: https://gerrit.libreoffice.org/63487 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/treeopt.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index a0ced4fccd16..0a2aa20f6885 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -469,12 +469,11 @@ struct OptionsGroupInfo
SfxShell* m_pShell; // used to create the page
SfxModule* m_pModule; // used to create the ItemSet
sal_uInt16 m_nDialogId; // Id of the former dialog
- bool m_bLoadError; // load fails?
OUString m_sPageURL;
OptionsGroupInfo( SfxShell* pSh, SfxModule* pMod, sal_uInt16 nId ) :
m_pShell( pSh ),
- m_pModule( pMod ), m_nDialogId( nId ), m_bLoadError( false ),
+ m_pModule( pMod ), m_nDialogId( nId ),
m_sPageURL( OUString() ) {}
};
@@ -994,9 +993,6 @@ void OfaTreeOptionsDialog::SelectHdl_Impl()
OptionsGroupInfo* pGroupInfo = static_cast<OptionsGroupInfo *>(pParent->GetUserData());
if(!pPageInfo->m_pPage && pPageInfo->m_nPageId > 0)
{
- if(pGroupInfo->m_bLoadError)
- return;
-
if(!pGroupInfo->m_pInItemSet)
pGroupInfo->m_pInItemSet = pGroupInfo->m_pShell
? pGroupInfo->m_pShell->CreateItemSet( pGroupInfo->m_nDialogId )