diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-31 15:20:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-01 09:27:25 +0000 |
commit | 3c95b2c39ae635f3fb9a4f06d41188d5139ff411 (patch) | |
tree | 673ecbfeff64c35f620224bf108384e059911553 /vcl | |
parent | 91220fc0ebffacd6cbcc2fdbede48ea37009e2a0 (diff) |
drop GetImageIds
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/image.hxx | 1 | ||||
-rw-r--r-- | vcl/source/gdi/image.cxx | 17 |
2 files changed, 0 insertions, 18 deletions
diff --git a/vcl/inc/vcl/image.hxx b/vcl/inc/vcl/image.hxx index 301af44bead9..3c96eea4d6c7 100644 --- a/vcl/inc/vcl/image.hxx +++ b/vcl/inc/vcl/image.hxx @@ -148,7 +148,6 @@ public: sal_uInt16 GetImagePos( const ::rtl::OUString& rImageName ) const; sal_uInt16 GetImageId( sal_uInt16 nPos ) const; - void GetImageIds( ::std::vector< sal_uInt16 >& rIds ) const; ::rtl::OUString GetImageName( sal_uInt16 nPos ) const; void GetImageNames( ::std::vector< ::rtl::OUString >& rNames ) const; diff --git a/vcl/source/gdi/image.cxx b/vcl/source/gdi/image.cxx index f587bc29d2e9..ad7f84d48eb5 100644 --- a/vcl/source/gdi/image.cxx +++ b/vcl/source/gdi/image.cxx @@ -824,23 +824,6 @@ sal_uInt16 ImageList::GetImageId( sal_uInt16 nPos ) const // ----------------------------------------------------------------------- -void ImageList::GetImageIds( ::std::vector< sal_uInt16 >& rIds ) const -{ - RTL_LOGFILE_CONTEXT( aLog, "vcl: ImageList::GetImageIds" ); - - DBG_CHKTHIS( ImageList, NULL ); - - rIds = ::std::vector< sal_uInt16 >(); - - if( mpImplData ) - { - for( sal_uInt32 i = 0; i < mpImplData->maImages.size(); i++ ) - rIds.push_back( mpImplData->maImages[i]->mnId ); - } -} - -// ----------------------------------------------------------------------- - ::rtl::OUString ImageList::GetImageName( sal_uInt16 nPos ) const { DBG_CHKTHIS( ImageList, NULL ); |