Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -122,7 +122,7 @@ public:
App::CellAddress getAddress() const { return address; }
std::string getFormattedQuantity(void);
std::string getFormattedQuantity();
/* Alignment */
static const int ALIGNMENT_LEFT;

View File

@@ -51,7 +51,7 @@ public:
return i != end() ? i->second : defaultWidth;
}
virtual Property *Copy(void) const;
virtual Property *Copy() const;
virtual void Paste(const Property &from);
@@ -65,7 +65,7 @@ public:
const std::set<int> & getDirty() const { return dirty; }
PyObject *getPyObject(void);
PyObject *getPyObject();
void clear();

View File

@@ -32,7 +32,7 @@
using namespace Spreadsheet;
// returns a string which represents the object e.g. when printed in python
std::string PropertyColumnWidthsPy::representation(void) const
std::string PropertyColumnWidthsPy::representation() const
{
return std::string("<PropertyColumnWidths object>");
}

View File

@@ -51,7 +51,7 @@ public:
return *this;
}
virtual App::Property *Copy(void) const;
virtual App::Property *Copy() const;
virtual void Paste(const App::Property &from);
@@ -65,7 +65,7 @@ public:
const std::set<int> & getDirty() const { return dirty; }
PyObject *getPyObject(void);
PyObject *getPyObject();
static const int defaultHeight;

View File

@@ -1633,10 +1633,10 @@ void PropertySpreadsheetQuantity::Paste(const Property &from)
namespace App {
/// @cond DOXERR
PROPERTY_SOURCE_TEMPLATE(Spreadsheet::SheetPython, Spreadsheet::Sheet)
template<> const char* Spreadsheet::SheetPython::getViewProviderName(void) const {
template<> const char* Spreadsheet::SheetPython::getViewProviderName() const {
return "SpreadsheetGui::ViewProviderSheet";
}
template<> PyObject* Spreadsheet::SheetPython::getPyObject(void) {
template<> PyObject* Spreadsheet::SheetPython::getPyObject() {
if (PythonObject.is(Py::_None())) {
// ref counter is set to 1
PythonObject = Py::Object(new FeaturePythonPyT<Spreadsheet::SheetPy>(this),true);