diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 13:10:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-03 16:03:34 +0200 |
commit | e037381f85413fe6329c54e49ccfcac88dd71048 (patch) | |
tree | 78bce79b46f2f5415d70214555ceccc84897dfbf /svtools | |
parent | ca4701fec182d928ab3d39f2183dafecf90e430b (diff) |
loplugin:unusedfields in slideshow..svtools
Change-Id: I74d5a4b8cfc4b18267f99648a3112b163c91fd8c
Reviewed-on: https://gerrit.libreoffice.org/39474
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 0b728f512c38..0686a8cd0fe0 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -237,21 +237,18 @@ OUString SvInplaceEdit2::GetText() const SvLBoxTab::SvLBoxTab() { nPos = 0; - pUserData = nullptr; nFlags = SvLBoxTabFlags::NONE; } SvLBoxTab::SvLBoxTab( long nPosition, SvLBoxTabFlags nTabFlags ) { nPos = nPosition; - pUserData = nullptr; nFlags = nTabFlags; } SvLBoxTab::SvLBoxTab( const SvLBoxTab& rTab ) { nPos = rTab.nPos; - pUserData = rTab.pUserData; nFlags = rTab.nFlags; } @@ -3261,7 +3258,6 @@ void SvTreeListBox::AddTab(long nTabPos, SvLBoxTabFlags nFlags ) { nFocusWidth = -1; SvLBoxTab* pTab = new SvLBoxTab( nTabPos, nFlags ); - pTab->SetUserData( nullptr ); aTabs.push_back( pTab ); if( nTreeFlags & SvTreeFlags::USESEL ) { |