remove redundant void
This commit is contained in:
@@ -938,7 +938,7 @@ void Document::exportGraphviz(std::ostream& out) const
|
||||
// return false;
|
||||
//}
|
||||
|
||||
bool Document::checkOnCycle(void)
|
||||
bool Document::checkOnCycle()
|
||||
{/*
|
||||
std::vector < default_color_type > color(num_vertices(_DepList), white_color);
|
||||
graph_traits < DependencyList >::vertex_iterator vi, vi_end;
|
||||
@@ -1428,12 +1428,12 @@ void Document::setUndoMode(int iMode)
|
||||
d->iUndoMode = iMode;
|
||||
}
|
||||
|
||||
int Document::getUndoMode(void) const
|
||||
int Document::getUndoMode() const
|
||||
{
|
||||
return d->iUndoMode;
|
||||
}
|
||||
|
||||
unsigned int Document::getUndoMemSize (void) const
|
||||
unsigned int Document::getUndoMemSize () const
|
||||
{
|
||||
return d->UndoMemSize;
|
||||
}
|
||||
@@ -1448,7 +1448,7 @@ void Document::setMaxUndoStackSize(unsigned int UndoMaxStackSize)
|
||||
d->UndoMaxStackSize = UndoMaxStackSize;
|
||||
}
|
||||
|
||||
unsigned int Document::getMaxUndoStackSize(void)const
|
||||
unsigned int Document::getMaxUndoStackSize()const
|
||||
{
|
||||
return d->UndoMaxStackSize;
|
||||
}
|
||||
@@ -2224,7 +2224,7 @@ Document::importObjects(Base::XMLReader& reader)
|
||||
return objs;
|
||||
}
|
||||
|
||||
unsigned int Document::getMemSize (void) const
|
||||
unsigned int Document::getMemSize () const
|
||||
{
|
||||
unsigned int size = 0;
|
||||
|
||||
@@ -2285,7 +2285,7 @@ bool Document::saveCopy(const char* _file) const
|
||||
}
|
||||
|
||||
// Save the document under the name it has been opened
|
||||
bool Document::save (void)
|
||||
bool Document::save ()
|
||||
{
|
||||
if(testStatus(Document::PartialDoc)) {
|
||||
FC_ERR("Partial loaded document '" << Label.getValue() << "' cannot be saved");
|
||||
@@ -2974,7 +2974,7 @@ bool Document::isTouched() const
|
||||
return false;
|
||||
}
|
||||
|
||||
vector<DocumentObject*> Document::getTouched(void) const
|
||||
vector<DocumentObject*> Document::getTouched() const
|
||||
{
|
||||
vector<DocumentObject*> result;
|
||||
|
||||
@@ -2995,7 +2995,7 @@ bool Document::isClosable() const
|
||||
return testStatus(Document::Closable);
|
||||
}
|
||||
|
||||
int Document::countObjects(void) const
|
||||
int Document::countObjects() const
|
||||
{
|
||||
return static_cast<int>(d->objectArray.size());
|
||||
}
|
||||
@@ -4491,7 +4491,7 @@ DocumentObject* Document::moveObject(DocumentObject* obj, bool recursive)
|
||||
return objs.back();
|
||||
}
|
||||
|
||||
DocumentObject * Document::getActiveObject(void) const
|
||||
DocumentObject * Document::getActiveObject() const
|
||||
{
|
||||
return d->activeObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user