equal
deleted
inserted
replaced
71 // ----------------------------------------------------------------------------- |
71 // ----------------------------------------------------------------------------- |
72 // |
72 // |
73 CGlxDocument::~CGlxDocument() |
73 CGlxDocument::~CGlxDocument() |
74 { |
74 { |
75 TRACER("CGlxDocument::~CGlxDocument()"); |
75 TRACER("CGlxDocument::~CGlxDocument()"); |
76 if (iViewUtility != NULL) |
76 if ( iViewUtility ) |
77 { |
77 { |
78 iViewUtility->Close(); |
78 iViewUtility->Close(); |
79 } |
79 } |
80 if ( NULL != iImageViewerInstance) |
80 if ( iImageViewerInstance ) |
81 { |
81 { |
82 iImageViewerInstance->DeleteInstance(); |
82 iImageViewerInstance->DeleteInstance(); |
83 } |
83 } |
84 } |
84 } |
85 |
85 |