Showing with 3 additions and 2 deletions.
  1. +2 −1 python/core/composer/qgscomposerattributetable.sip
  2. +1 −1 src/core/qgsexpression.cpp
3 changes: 2 additions & 1 deletion python/core/composer/qgscomposerattributetable.sip
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class QgsComposerAttributeTable : QgsComposerTable

//void setSortAttributes( const QList<QPair<int, bool> > att );
//QList<QPair<int, bool> > sortAttributes() const;

protected:
virtual QMap<int, QString> getHeaderLabels() const;

signals:
/**This signal is emitted if the maximum number of feature changes (interactively)*/
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsexpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1618,8 +1618,8 @@ int QgsExpression::functionCount()
QgsExpression::QgsExpression( const QString& expr )
: mRowNumber( 0 )
, mScale( 0 )
, mCalc( 0 )
, mExp( expr )
, mCalc( 0 )
{
mRootNode = ::parseExpression( expr, mParserErrorString );

Expand Down