Expression/ObjectIdentifier: changed return type of renameDocumentObject and renameDocument,

to be able to signal that a rename actually took place.
This commit is contained in:
Eivind Kvedalen
2015-12-19 00:50:10 +01:00
committed by wmayer
parent 83d221e161
commit 65a610d1cb
4 changed files with 27 additions and 13 deletions

View File

@@ -186,9 +186,9 @@ public:
const String getDocumentObjectName() const;
void renameDocumentObject(const std::string & oldName, const std::string & newName);
bool renameDocumentObject(const std::string & oldName, const std::string & newName);
void renameDocument(const std::string &oldName, const std::string &newName);
bool renameDocument(const std::string &oldName, const std::string &newName);
App::Document *getDocument(String name = String()) const;