summaryrefslogtreecommitdiff
path: root/toolkit/source
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source')
-rw-r--r--toolkit/source/awt/vclxgraphics.cxx6
-rw-r--r--toolkit/source/helper/unowrapper.cxx2
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++ )