diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-22 21:53:22 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-11-22 22:38:03 +1100 |
commit | 7304f974d8ef60433662da92c2e172e45ca64bd5 (patch) | |
tree | 33bb944b7203491405aee1070222edab92e82603 /toolkit | |
parent | 471ce7b54932c7abf76fd4af048bffe7b708205b (diff) |
vcl: remove unnecessary typedef VCLXGraphicsList_impl
Change-Id: Iaaf2f0edf721567f88ffc948501548fddd648428
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxgraphics.cxx | 6 | ||||
-rw-r--r-- | toolkit/source/helper/unowrapper.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index 3dc4246f685e..1b11197fd026 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -66,10 +66,10 @@ VCLXGraphics::VCLXGraphics() VCLXGraphics::~VCLXGraphics() { - VCLXGraphicsList_impl* pLst = mpOutputDevice ? mpOutputDevice->GetUnoGraphicsList() : NULL; + std::vector< VCLXGraphics* > *pLst = mpOutputDevice ? mpOutputDevice->GetUnoGraphicsList() : NULL; if ( pLst ) { - for( VCLXGraphicsList_impl::iterator it = pLst->begin(); it != pLst->end(); ++it ) + for( std::vector< VCLXGraphics* >::iterator it = pLst->begin(); it != pLst->end(); ++it ) { if( *it == this ) { pLst->erase( it ); @@ -97,7 +97,7 @@ void VCLXGraphics::Init( OutputDevice* pOutDev ) mpClipRegion = NULL; // Register at OutputDevice - VCLXGraphicsList_impl* pLst = mpOutputDevice->GetUnoGraphicsList(); + std::vector< VCLXGraphics* > *pLst = mpOutputDevice->GetUnoGraphicsList(); if ( !pLst ) pLst = mpOutputDevice->CreateUnoGraphicsList(); pLst->push_back( this ); diff --git a/toolkit/source/helper/unowrapper.cxx b/toolkit/source/helper/unowrapper.cxx index 1a1b22435a16..6087476da18f 100644 --- a/toolkit/source/helper/unowrapper.cxx +++ b/toolkit/source/helper/unowrapper.cxx @@ -194,7 +194,7 @@ void UnoWrapper::SetWindowInterface( vcl::Window* pWindow, ::com::sun::star::uno void UnoWrapper::ReleaseAllGraphics( OutputDevice* pOutDev ) { - VCLXGraphicsList_impl* pLst = pOutDev->GetUnoGraphicsList(); + std::vector< VCLXGraphics* > *pLst = pOutDev->GetUnoGraphicsList(); if ( pLst ) { for ( size_t n = 0; n < pLst->size(); n++ ) |