summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-03 14:08:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-04 07:17:23 +0100
commit21e0d8162a0e683558c4d042ce688fc9a6833809 (patch)
tree8c93a0158d7669b1e92a43c65b6b4a7a7eeca685 /cui
parent5de151f0fd7b590ae13560086b46ea84e4d9cf9c (diff)
loplugin:unusedfields
fix the ReturnStmt check Change-Id: I95076076bd1313d23798c4615ea12910c86ed9a8 Reviewed-on: https://gerrit.libreoffice.org/47309 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx10
-rw-r--r--cui/source/inc/iconcdlg.hxx2
2 files changed, 0 insertions, 12 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 1b1009389595..bd04dc4400c8 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -209,17 +209,7 @@ void IconChoiceDialog::dispose()
for (IconChoicePageData* pData : maPageList)
{
if ( pData->pPage )
- {
- OUString aPageData(pData->pPage->GetUserData());
- if ( !aPageData.isEmpty() )
- {
- //SvtViewOptions aTabPageOpt( EViewType::TabPage, OUString::number(pData->nId) );
-
- //SetViewOptUserItem( aTabPageOpt, aPageData );
- }
-
pData->pPage.disposeAndClear();
- }
delete pData;
}
maPageList.clear();
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index 040444abb324..0ef081c08543 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -63,7 +63,6 @@ class IconChoicePage : public TabPage
{
private:
const SfxItemSet* pSet;
- OUString aUserString;
bool bHasExchangeSupport;
void ImplInitSettings();
@@ -87,7 +86,6 @@ public:
virtual void ActivatePage( const SfxItemSet& );
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet );
- const OUString& GetUserData() { return aUserString; }
virtual bool QueryClose();
void StateChanged( StateChangedType nType ) override;