Pass const QString by reference instead of by value

This commit is contained in:
Debao Zhang
2013-10-24 16:30:56 +08:00
parent 377a9adfd1
commit afbf4effbf
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ public:
~Document();
Format *createFormat();
int write(const QString cell, const QVariant &value, Format *format=0);
int write(const QString &cell, const QVariant &value, Format *format=0);
int write(int row, int col, const QVariant &value, Format *format=0);
int insertImage(int row, int column, const QImage &image, double xOffset=0, double yOffset=0, double xScale=1, double yScale=1);
int mergeCells(const QString &range);