Mod: redundant void 2
This commit is contained in:
@@ -122,7 +122,7 @@ public:
|
||||
|
||||
App::CellAddress getAddress() const { return address; }
|
||||
|
||||
std::string getFormattedQuantity(void);
|
||||
std::string getFormattedQuantity();
|
||||
|
||||
/* Alignment */
|
||||
static const int ALIGNMENT_LEFT;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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>");
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user