rename method from remObject to removeObject to be more readable

This commit is contained in:
wmayer
2017-09-13 18:57:38 +02:00
parent 52ef3a5d19
commit 712966ff50
12 changed files with 17 additions and 17 deletions

View File

@@ -424,7 +424,7 @@ int DrawProjGroup::removeProjection(const char *viewProjType)
if( projPtr ) {
if ( strcmp(viewProjType, projPtr->Type.getValueAsString()) == 0 ) {
removeView(projPtr); // Remove from collection
getDocument()->remObject( it->getNameInDocument() ); // Remove from the document
getDocument()->removeObject( it->getNameInDocument() ); // Remove from the document
moveToCentre();
return Views.getValues().size();
}