![]() | InDesign SDK 20.5 |
#include <IDataBase.h>
Public Member Functions | |
| SaveRestoreModifiedState (IDataBase *db) | |
This stack-based class is to be used in a scope where you want to perform an operation which is "logically const" on the database (that is, you don't want operations during that scope to set the modified state of the database if it was not already set). Just put the following in the scope you need: IDataBase::SaveRestoreModifiedState saveRestore(db);