Index: imgprod.cxx =================================================================== RCS file: /cvs/util/svtools/source/uno/imgprod.cxx,v retrieving revision 1.5 diff -u -r1.5 imgprod.cxx --- imgprod.cxx 4 Apr 2001 15:45:55 -0000 1.5 +++ imgprod.cxx 22 May 2003 13:04:48 -0000 @@ -392,6 +392,8 @@ if( maConsList.Count() ) { + bool bNotifyEmptyGraphics = false; + // valid stream or filled graphic? => update consumers if( mpStm || ( mpGraphic->GetType() != GRAPHIC_NONE ) ) { @@ -405,8 +407,13 @@ if( mpGraphic->GetType() != GRAPHIC_NONE ) ImplUpdateData( *mpGraphic ); + else + bNotifyEmptyGraphics = true; } else + bNotifyEmptyGraphics = true; + + if ( bNotifyEmptyGraphics ) { // reset image List aTmp;