Clang: More renaming fixes

Change-Id: If796869b26fc6faf5919041368fb26e8a42ae8a2
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2016-09-09 14:42:35 +02:00
parent 9606988989
commit 26cb17bb65
9 changed files with 54 additions and 56 deletions

View File

@@ -359,13 +359,13 @@ void Document::setDirty()
void Document::checkIfNull() const
{
if (isNull())
throw TranslationUnitIsNullException();
throw DocumentIsNullException();
}
void Document::checkIfFileExists() const
{
if (!fileExists())
throw TranslationUnitFileNotExitsException(d->filePath);
throw DocumentFileDoesNotExistException(d->filePath);
}
bool Document::fileExists() const