From b1af6c1ae7581a19c30f93a2822b2c76c988aaa9 Mon Sep 17 00:00:00 2001 From: stv Date: Thu, 15 Dec 2005 16:02:32 +0000 Subject: [PATCH] no message --- src/CAF/CAF_Study.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CAF/CAF_Study.cxx b/src/CAF/CAF_Study.cxx index bb20185ca..7cd3ddc61 100755 --- a/src/CAF/CAF_Study.cxx +++ b/src/CAF/CAF_Study.cxx @@ -224,7 +224,10 @@ bool CAF_Study::isSaved() const */ bool CAF_Study::isModified() const { - return ( myModifiedCnt != 0 ); + if ( myStdDoc.IsNull() ) + return false; + + return myStdDoc->IsModified(); } /*! -- 2.39.2