diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 11:42:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-20 18:56:09 +0000 |
commit | 370613e5917366698d4d9ec078f79f9a48ce8b02 (patch) | |
tree | 72b3f81111abca3de4b9decc317ce064788449fe /cui | |
parent | 36f2fd038d6dd281358db9d3161d7082d9559f4c (diff) |
warn about unused Images
Change-Id: I5502b28411282354019af51a09c860099c652006
Reviewed-on: https://gerrit.libreoffice.org/33348
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/cfg.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index d411fa820373..4a77f4214e91 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -3539,8 +3539,6 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton, void ) GetSaveInData()->GetImageManager()->replaceImages( GetImageType(), aURLSeq, aGraphicSeq ); - Image aImage( newgraphic ); - m_pContentsListBox->GetModel()->Remove( pActEntry ); SvTreeListEntry* pNewLBEntry = InsertEntryIntoUI( pEntry, nSelectionPos ); @@ -3595,7 +3593,6 @@ IMPL_LINK( SvxToolbarConfigPage, EntrySelectHdl, MenuButton *, pButton, void ) GetSaveInData()->GetImageManager()->replaceImages( GetImageType(), aURLSeq, aGraphicSeq ); - Image aImage( backup ); m_pContentsListBox->GetModel()->Remove( pActEntry ); SvTreeListEntry* pNewLBEntry = |