diff options
-rw-r--r-- | vcl/source/gdi/print2.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx index 1ca7014778f5..2aec6add9634 100644 --- a/vcl/source/gdi/print2.cxx +++ b/vcl/source/gdi/print2.cxx @@ -917,8 +917,6 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf, bTreatSpecial = true; } - ConnectedComponentsList::iterator aCurrCC; - const ConnectedComponentsList::iterator aLastCC( aCCList.end() ); bool bSomeComponentsChanged; // now, this is unfortunate: since changing anyone of @@ -934,7 +932,7 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf, bSomeComponentsChanged = false; // iterate over all current members of aCCList - for( aCurrCC=aCCList.begin(); aCurrCC != aLastCC; ) + for( auto aCurrCC=aCCList.begin(); aCurrCC != aCCList.end(); ) { // first check if current element's bounds are // empty. This ensures that empty actions are not |