diff -r f7f0874bfe7d -r 6b87b143d312 photosgallery/gallery/src/glxdocument.cpp --- a/photosgallery/gallery/src/glxdocument.cpp Tue Feb 02 10:12:14 2010 +0200 +++ b/photosgallery/gallery/src/glxdocument.cpp Fri Feb 19 22:51:01 2010 +0200 @@ -73,11 +73,11 @@ CGlxDocument::~CGlxDocument() { TRACER("CGlxDocument::~CGlxDocument()"); - if (iViewUtility != NULL) + if ( iViewUtility ) { iViewUtility->Close(); } - if ( NULL != iImageViewerInstance) + if ( iImageViewerInstance ) { iImageViewerInstance->DeleteInstance(); }