fix -Wextra & -Wdeprecated in Spreadsheet

This commit is contained in:
wmayer
2016-09-22 16:35:05 +02:00
parent 801ac34258
commit 6cf82fbe62
8 changed files with 34 additions and 6 deletions

View File

@@ -34,7 +34,6 @@
#include "../App/Sheet.h"
#include <Gui/Command.h>
#include <Base/Tools.h>
#include <strstream>
#include <boost/bind.hpp>
using namespace SpreadsheetGui;
@@ -58,11 +57,13 @@ SheetModel::~SheetModel()
int SheetModel::rowCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return 16384;
}
int SheetModel::columnCount(const QModelIndex &parent) const
{
Q_UNUSED(parent);
return 26 * 26 + 26;
}