diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-23 08:15:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-23 14:49:04 +0200 |
commit | d367ee2f8c204f351072c0eb10259fd7aa497770 (patch) | |
tree | 351c016c0d0ef15a739fe8e766d9ae0b0c1edf72 /framework/source/uiconfiguration | |
parent | bfe225b7003d119ff214cbaa771289de105c48d5 (diff) |
Simplify framework image manager
various bits are no longer used since
commit ca00697e3dae9a03573d11281fc8d9a4ee391d3d
Date: Tue Sep 8 04:57:32 2009 +0000
CWS-TOOLING: integrate CWS oj18
Change-Id: Iea57cee35026fd90f6a9aaf9927a80a646d722bb
Reviewed-on: https://gerrit.libreoffice.org/76147
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/uiconfiguration')
-rw-r--r-- | framework/source/uiconfiguration/imagemanagerimpl.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx index ff53261f56b8..fc6a54d3d2c2 100644 --- a/framework/source/uiconfiguration/imagemanagerimpl.cxx +++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx @@ -403,13 +403,10 @@ bool ImageManagerImpl::implts_storeUserImages( for ( sal_uInt16 i=0; i < pImageList->GetImageCount(); i++ ) { ImageItemDescriptor* pItem = new ImageItemDescriptor; - pItem->nIndex = i; pItem->aCommandURL = pImageList->GetImageName( i ); pList->pImageItemList->push_back( std::unique_ptr<ImageItemDescriptor>(pItem) ); } - pList->aURL = "Bitmaps/" + OUString::createFromAscii(BITMAP_FILE_NAMES[nImageType]); - uno::Reference< XTransactedObject > xTransaction; uno::Reference< XOutputStream > xOutputStream; uno::Reference< XStream > xStream = xUserImageStorage->openStreamElement( OUString::createFromAscii( IMAGELIST_XML_FILE[nImageType] ), |